From: Michael Date: Sat, 20 Jan 2018 19:51:23 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/develop' into item-permissions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=745bc7cf3f3990a8887fcc806a16d218f82e35db;p=friendica.git Merge remote-tracking branch 'upstream/develop' into item-permissions --- 745bc7cf3f3990a8887fcc806a16d218f82e35db diff --cc mod/item.php index bb5b0f1d76,a032e34989..ecf4a83954 --- a/mod/item.php +++ b/mod/item.php @@@ -50,10 -51,11 +51,11 @@@ function item_post(App $a) killme(); } - call_hooks('post_local_start', $_REQUEST); + Addon::callHooks('post_local_start', $_REQUEST); - // logger('postinput ' . file_get_contents('php://input')); ++ logger('postvars ' . print_r($_REQUEST,true), LOGGER_DATA); - $api_source = x($_REQUEST, 'api_source') && $_REQUEST['api_source']; + $api_source = defaults($_REQUEST, 'api_source', false); $message_id = ((x($_REQUEST, 'message_id') && $api_source) ? strip_tags($_REQUEST['message_id']) : '');