aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-12-14 22:41:11 +0100
committerMario Vavti <mario@mariovavti.com>2017-12-14 22:41:11 +0100
commit26b92c85641f0c4c4bda683456106c4ad21caa86 (patch)
tree7128ab814ea3285c031cd8e1ac1d86cebe609e06
parenta61c72b3b2076a5971eca47cda8aa067c03f9d6c (diff)
downloadvolse-hubzilla-26b92c85641f0c4c4bda683456106c4ad21caa86.tar.gz
volse-hubzilla-26b92c85641f0c4c4bda683456106c4ad21caa86.tar.bz2
volse-hubzilla-26b92c85641f0c4c4bda683456106c4ad21caa86.zip
fix another PHP7.2 warningg
-rw-r--r--Zotlabs/Module/Item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index 37a3a3a85..6365230f8 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -156,7 +156,7 @@ class Item extends \Zotlabs\Web\Controller {
if(! x($_REQUEST,'type'))
$_REQUEST['type'] = 'net-comment';
- if($obj_type == ACTIVITY_OBJ_POST)
+ if($obj_type == ACTIVITY_OBJ_NOTE)
$obj_type = ACTIVITY_OBJ_COMMENT;
if($parent) {