avoid double slash after editing layout

This commit is contained in:
Mario Vavti 2015-05-06 12:16:53 +02:00
parent 9391f6f905
commit 257c670d5c

View File

@ -130,7 +130,7 @@ function editlayout_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.
$rp = '/layouts/' . $which;
$rp = 'layouts/' . $which;
$o .= replace_macros($tpl,array(
'$return_path' => $rp,