From: Michael Date: Fri, 19 Jan 2018 07:50:11 +0000 (+0000) Subject: Just some precaution X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d22adc98b2ee9dfeb949f6ca563520d05c217614;p=friendica.git Just some precaution --- diff --git a/mod/item.php b/mod/item.php index b29144513a..4b284568aa 100644 --- a/mod/item.php +++ b/mod/item.php @@ -174,7 +174,7 @@ function item_post(App $a) { $object = (x($_REQUEST, 'object') ? $_REQUEST['object'] : ''); // Ensure that the user id in a thread always stay the same - if (!is_null($parent_user)) { + if (!is_null($parent_user) && in_array($parent_user, [local_user(), 0])) { $profile_uid = $parent_user; }