aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/editwebpage.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/editwebpage.php b/mod/editwebpage.php
index f11210eea..e9c8f5c37 100644
--- a/mod/editwebpage.php
+++ b/mod/editwebpage.php
@@ -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.
- $rp = '/webpages/' . $which;
- $lockstate =
+ $rp = 'webpages/' . $which;
$o .= replace_macros($tpl,array(
'$return_path' => $rp,