aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2013-09-08 21:45:35 +0200
committerChristian Vogeley <christian.vogeley@hotmail.de>2013-09-08 21:45:35 +0200
commita73f8291c31364b16b447efd9190f5b99d9a01c5 (patch)
tree212ecfe5eab38394ccd959576cde80b7ca0c4de1 /mod/item.php
parente70c9b3613088f2a34f83cb2e78a1eaee152f8cb (diff)
downloadvolse-hubzilla-a73f8291c31364b16b447efd9190f5b99d9a01c5.tar.gz
volse-hubzilla-a73f8291c31364b16b447efd9190f5b99d9a01c5.tar.bz2
volse-hubzilla-a73f8291c31364b16b447efd9190f5b99d9a01c5.zip
retrun check
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index f47180f19..b8421b22f 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -78,6 +78,7 @@ function item_post(&$a) {
$ret=item_check_service_class(local_user(),x($_REQUEST,'webpage'));
if (!$ret['success']) {
notice( t($ret['message']) . EOL) ;
+ if(x($_REQUEST,'return'))
goaway($a->get_baseurl() . "/" . $return_path );
killme();
}