aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-02 20:39:47 +0000
committerMario <mario@mariovavti.com>2021-01-02 20:39:47 +0000
commit2bcf0c354a6ce2224c88554649f7836d210e4811 (patch)
tree10362f5b1e7d1777fbf903faeabd643135002722 /Zotlabs/Module
parent73cc756cacdb1b7ef3e9d03472e078bb9cfbcc49 (diff)
downloadvolse-hubzilla-2bcf0c354a6ce2224c88554649f7836d210e4811.tar.gz
volse-hubzilla-2bcf0c354a6ce2224c88554649f7836d210e4811.tar.bz2
volse-hubzilla-2bcf0c354a6ce2224c88554649f7836d210e4811.zip
fix wrong variable
Diffstat (limited to 'Zotlabs/Module')
-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 f74b1e321..83424a50d 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -976,7 +976,7 @@ class Item extends Controller {
$item_unseen = ((local_channel() != $profile_uid) ? 1 : 0);
- $item_wall = (($post_type === 'wall' || $post_type === 'wall-comment') ? 1 : 0);
+ $item_wall = (($_REQUEST['type'] === 'wall' || $_REQUEST['type'] === 'wall-comment') ? 1 : 0);
$item_origin = (($origin) ? 1 : 0);
$item_consensus = (($consensus) ? 1 : 0);
$item_nocomment = (($nocomment) ? 1 : 0);