From: Oliver Betz <obetz@de...> - 2002-10-16 15:00:55
removepage.php looks for the actual page name by using
$request->getArg, therefore in HTTP_POST_VARS when hitting the "Remove
the page now" button.
But HTTP_POST_VARS does not contain the page name (from the URI), at
least on my system.
Result: the HomePage is deleted.
I inserted another hidden field in the remove form:
HTML::input(array('type' => 'hidden',
'name' => 'pagename',
'value' => $page->getName())),
It works, but I don't know whether $page->getName() is the best
approach since I have little knowledge about the interplay of all the
Could this relate to the search functions not working on (some?)
systems whith USE_PATH_INFO=true? There was also missing the name of
the search page...
Stockdorfer Str. 54