retrun check
This commit is contained in:
parent
e70c9b3613
commit
a73f8291c3
@ -78,6 +78,7 @@ function item_post(&$a) {
|
|||||||
$ret=item_check_service_class(local_user(),x($_REQUEST,'webpage'));
|
$ret=item_check_service_class(local_user(),x($_REQUEST,'webpage'));
|
||||||
if (!$ret['success']) {
|
if (!$ret['success']) {
|
||||||
notice( t($ret['message']) . EOL) ;
|
notice( t($ret['message']) . EOL) ;
|
||||||
|
if(x($_REQUEST,'return'))
|
||||||
goaway($a->get_baseurl() . "/" . $return_path );
|
goaway($a->get_baseurl() . "/" . $return_path );
|
||||||
killme();
|
killme();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user