Just some precaution
This commit is contained in:
parent
a07670ac30
commit
d22adc98b2
|
@ -174,7 +174,7 @@ function item_post(App $a) {
|
||||||
$object = (x($_REQUEST, 'object') ? $_REQUEST['object'] : '');
|
$object = (x($_REQUEST, 'object') ? $_REQUEST['object'] : '');
|
||||||
|
|
||||||
// Ensure that the user id in a thread always stay the same
|
// 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;
|
$profile_uid = $parent_user;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue