From 8b8712c15b968542c8fe770d1b99e296642a958c Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 22 Sep 2016 16:52:25 -0700 Subject: issue #524 --- include/items.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index ba39fd7ac..55bdcf8ef 100755 --- a/include/items.php +++ b/include/items.php @@ -1590,6 +1590,9 @@ function item_store($arr, $allow_exec = false, $deliver = true) { $arr['item_wall'] = ((x($arr,'item_wall')) ? intval($arr['item_wall']) : 0 ); $arr['item_type'] = ((x($arr,'item_type')) ? intval($arr['item_type']) : 0 ); + // obsolete, but needed so as not to throw not-null constraints on some database driveres + $arr['item_flags'] = ((x($arr,'item_flags')) ? intval($arr['item_flags']) : 0 ); + // only detect language if we have text content, and if the post is private but not yet // obscured, make it so. -- cgit v1.2.3