diff options
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index a682fafaa..aaa51fc8b 100755 --- a/include/items.php +++ b/include/items.php @@ -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); |