retrun check

This commit is contained in:
Christian Vogeley 2013-09-08 21:45:35 +02:00
parent e70c9b3613
commit a73f8291c3

View File

@ -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();
}