mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
Bugfix find_revisionid_timestamp
This commit is contained in:
parent
0ec1424d35
commit
33153094b1
3 changed files with 8 additions and 4 deletions
|
@ -409,7 +409,7 @@ if($settings->sessionprefix == "auto")
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/** The version of Pepperminty Wiki currently running. */
|
||||
$version = "v0.18-dev";
|
||||
$commit = "96b632ff561fd14baa263f0156a455340796dc41";
|
||||
$commit = "bed21da43690f586e36b1e754431ac3be3682fc2";
|
||||
/// Environment ///
|
||||
/** Holds information about the current request environment. */
|
||||
$env = new stdClass();
|
||||
|
@ -3937,7 +3937,9 @@ function render_recent_changes($recent_changes)
|
|||
* @param int $timestamap The timestamp at which the revision was saved.
|
||||
* @return int The revision number of the given page at the given time.
|
||||
*/
|
||||
function find_revisionid_timestamp($pagename, $timestamap) {
|
||||
function find_revisionid_timestamp($pagename, $timestamp) {
|
||||
global $pageindex;
|
||||
|
||||
if(!isset($pageindex->$pagename) || !isset($pageindex->$pagename->history))
|
||||
return null;
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
"author": "Starbeamrainbowlabs",
|
||||
"description": "Adds recent changes. Access through the 'recent-changes' action.",
|
||||
"id": "feature-recent-changes",
|
||||
"lastupdate": 1548362686,
|
||||
"lastupdate": 1548363014,
|
||||
"optional": false
|
||||
},
|
||||
{
|
||||
|
|
|
@ -251,7 +251,9 @@ function render_recent_changes($recent_changes)
|
|||
* @param int $timestamap The timestamp at which the revision was saved.
|
||||
* @return int The revision number of the given page at the given time.
|
||||
*/
|
||||
function find_revisionid_timestamp($pagename, $timestamap) {
|
||||
function find_revisionid_timestamp($pagename, $timestamp) {
|
||||
global $pageindex;
|
||||
|
||||
if(!isset($pageindex->$pagename) || !isset($pageindex->$pagename->history))
|
||||
return null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue