aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-25 11:43:54 -0800
committerzotlabs <mike@macgirvin.com>2017-01-25 11:46:33 -0800
commit660c658c85cef9bd853d4a9134969c0f8bc6592c (patch)
tree2dee2a88ee0aef1d343355fd40375c3675c48906
parent7465ca269b702289afd8f1d0f476b28dd4bac5df (diff)
downloadvolse-hubzilla-660c658c85cef9bd853d4a9134969c0f8bc6592c.tar.gz
volse-hubzilla-660c658c85cef9bd853d4a9134969c0f8bc6592c.tar.bz2
volse-hubzilla-660c658c85cef9bd853d4a9134969c0f8bc6592c.zip
initialise item['postopts'] for mysql >= 5.7
-rwxr-xr-xinclude/items.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 9bd256d58..82cde9911 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1511,6 +1511,7 @@ function item_store($arr, $allow_exec = false, $deliver = true) {
$arr['allow_gid'] = ((x($arr,'allow_gid')) ? trim($arr['allow_gid']) : '');
$arr['deny_cid'] = ((x($arr,'deny_cid')) ? trim($arr['deny_cid']) : '');
$arr['deny_gid'] = ((x($arr,'deny_gid')) ? trim($arr['deny_gid']) : '');
+ $arr['postopts'] = ((x($arr,'postopts')) ? trim($arr['postopts']) : '');
$arr['item_private'] = ((x($arr,'item_private')) ? intval($arr['item_private']) : 0 );
$arr['item_wall'] = ((x($arr,'item_wall')) ? intval($arr['item_wall']) : 0 );
$arr['item_type'] = ((x($arr,'item_type')) ? intval($arr['item_type']) : 0 );