mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +00:00
Bugfix: Undefined variable in page filename constructor
This commit is contained in:
parent
feda4de4fb
commit
ace3eb61ee
1 changed files with 1 additions and 1 deletions
2
core.php
2
core.php
|
@ -1064,7 +1064,7 @@ if(isset($_GET["revision"]) and is_numeric($_GET["revision"]))
|
||||||
$env->page_filename = $env->storage_prefix;
|
$env->page_filename = $env->storage_prefix;
|
||||||
if($env->is_history_revision)
|
if($env->is_history_revision)
|
||||||
$env->page_filename .= $pageindex->{$env->page}->history[$env->history->revision_number]->filename;
|
$env->page_filename .= $pageindex->{$env->page}->history[$env->history->revision_number]->filename;
|
||||||
else
|
else if(isset($pageindex->{$env->page}))
|
||||||
$env->page_filename .= $pageindex->{$env->page}->filename;
|
$env->page_filename .= $pageindex->{$env->page}->filename;
|
||||||
|
|
||||||
$env->action = strtolower($_GET["action"]);
|
$env->action = strtolower($_GET["action"]);
|
||||||
|
|
Loading…
Reference in a new issue