provide detailed error to remote site for the myriad of things that can go wrong inside item_store(), !! this changes the return of item_store !!
This commit is contained in:
@@ -360,7 +360,8 @@ function event_store($arr) {
|
||||
}
|
||||
|
||||
|
||||
$item_id = item_store($item_arr);
|
||||
$res = item_store($item_arr);
|
||||
$item_id = $res['item_id'];
|
||||
|
||||
call_hooks("event_created", $event['id']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user