From 25b599a4bd831f175572c2388754e8734a255d77 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 6 May 2015 21:03:33 -0700 Subject: convert ITEM_WALL from bitfield to standalone --- include/externals.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/externals.php') diff --git a/include/externals.php b/include/externals.php index b0f853dc6..779d060e7 100644 --- a/include/externals.php +++ b/include/externals.php @@ -99,14 +99,14 @@ function externals_run($argv, $argc){ // ); $z = null; if($z) { - $flag_bits = ITEM_WALL|ITEM_ORIGIN|ITEM_UPLINK; + $flag_bits = ITEM_ORIGIN|ITEM_UPLINK; // preserve the source $r = q("update item set source_xchan = owner_xchan where id = %d", intval($z[0]['id']) ); - $r = q("update item set item_flags = ( item_flags | %d ), owner_xchan = '%s' + $r = q("update item set item_flags = ( item_flags | %d ), item_wall = 1, owner_xchan = '%s' where id = %d", intval($flag_bits), dbesc($sys['xchan_hash']), -- cgit v1.2.3