Spare / and an undeclared var in editwebpage.

This commit is contained in:
Thomas Willingham 2014-03-26 19:49:08 +00:00
parent bd7be38da5
commit d3527245f7

View File

@ -131,8 +131,7 @@ function editwebpage_content(&$a) {
//FIXME A return path with $_SESSION doesn't always work for observer - it may WSoD instead of loading a sensible page. So, send folk to the webpage list. //FIXME A return path with $_SESSION doesn't always work for observer - it may WSoD instead of loading a sensible page. So, send folk to the webpage list.
$rp = '/webpages/' . $which; $rp = 'webpages/' . $which;
$lockstate =
$o .= replace_macros($tpl,array( $o .= replace_macros($tpl,array(
'$return_path' => $rp, '$return_path' => $rp,