aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/item.php b/mod/item.php
index 4de9dc59f..e0497af7a 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -5,7 +5,7 @@ function sanitise_acl(&$item) {
}
function item_post(&$a) {
-dbg(3);
+
if((! local_user()) && (! remote_user()))
return;
@@ -170,6 +170,6 @@ dbg(3);
array(),$foo));
}
-// goaway($a->get_baseurl() . "/" . $_POST['return'] );
+ goaway($a->get_baseurl() . "/" . $_POST['return'] );
return; // NOTREACHED
} \ No newline at end of file