diff options
-rw-r--r-- | mod/item.php | 1 |
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(); } |