additional array checking
This commit is contained in:
@@ -2161,7 +2161,10 @@ function item_store_update($arr,$allow_exec = false, $deliver = true) {
|
||||
}
|
||||
|
||||
|
||||
dbesc_array($arr);
|
||||
if(! dbesc_array($arr)) {
|
||||
$ret['message'] = 'DB array malformed';
|
||||
return $ret;
|
||||
}
|
||||
|
||||
logger('item_store_update: ' . print_r($arr,true), LOGGER_DATA);
|
||||
|
||||
|
Reference in New Issue
Block a user