aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-25 11:43:54 -0800
committerzotlabs <mike@macgirvin.com>2017-01-25 11:43:54 -0800
commit7804ae6a7889baab8af87d518fb5a61b30cb20ff (patch)
tree95ebda08dfcfe1a40e0b8c2390b40b56ce7e2d3f /include/items.php
parent54f7cd53022284570ca38daba97386f929fd6f4a (diff)
downloadvolse-hubzilla-7804ae6a7889baab8af87d518fb5a61b30cb20ff.tar.gz
volse-hubzilla-7804ae6a7889baab8af87d518fb5a61b30cb20ff.tar.bz2
volse-hubzilla-7804ae6a7889baab8af87d518fb5a61b30cb20ff.zip
initialise item['postopts'] for mysql >= 5.7
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 3b7307239..4813cfb64 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1512,6 +1512,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 );