1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-26 02:55:02 +00:00

Bugfix: Undefined variable in page filename constructor

This commit is contained in:
Starbeamrainbowlabs 2016-10-22 16:41:04 +01:00
parent feda4de4fb
commit ace3eb61ee

View file

@ -1064,7 +1064,7 @@ if(isset($_GET["revision"]) and is_numeric($_GET["revision"]))
$env->page_filename = $env->storage_prefix;
if($env->is_history_revision)
$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->action = strtolower($_GET["action"]);