From 257c670d5ca540d9fb65102bb45c253946725897 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 6 May 2015 12:16:53 +0200 Subject: avoid double slash after editing layout --- mod/editlayout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/editlayout.php b/mod/editlayout.php index 706720667..8ab5aab22 100644 --- a/mod/editlayout.php +++ b/mod/editlayout.php @@ -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, -- cgit v1.2.3