From a73f8291c31364b16b447efd9190f5b99d9a01c5 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 8 Sep 2013 21:45:35 +0200 Subject: retrun check --- mod/item.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod') 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(); } -- cgit v1.2.3