diff options
author | friendica <info@friendica.com> | 2015-01-22 17:41:16 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-22 17:41:16 -0800 |
commit | e46eba125888704b4381aa8418495e91eeb565c8 (patch) | |
tree | d91e1e52560ea27be806f416485d32b831d03ebc /include/taxonomy.php | |
parent | 29436081a86650e7905a79eba4fdf7dc12f1c7c9 (diff) | |
download | volse-hubzilla-e46eba125888704b4381aa8418495e91eeb565c8.tar.gz volse-hubzilla-e46eba125888704b4381aa8418495e91eeb565c8.tar.bz2 volse-hubzilla-e46eba125888704b4381aa8418495e91eeb565c8.zip |
heavy lifting converting item flag bits
Diffstat (limited to 'include/taxonomy.php')
-rw-r--r-- | include/taxonomy.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php index be80008df..a5ccada62 100644 --- a/include/taxonomy.php +++ b/include/taxonomy.php @@ -101,8 +101,10 @@ function tagadelic($uid, $count = 0, $authors = '', $flags = 0, $restrict = 0, $ $sql_options = ''; $count = intval($count); - if($flags) - $sql_options .= " and ((item_flags & " . intval($flags) . ") = " . intval($flags) . ") "; + if($flags) { + if($flags === 'wall') + $sql_options .= " and item_wall = 1 "; + } if($authors) { if(! is_array($authors)) |