diff options
author | Mario <mario@mariovavti.com> | 2024-02-29 17:05:48 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-02-29 17:05:48 +0000 |
commit | 46f67eaa1e40954267088ba67726adc0d389628c (patch) | |
tree | 245878793f90aeb8f7a1c3ac586606166e853761 /include/taxonomy.php | |
parent | 291e12574aeb3b71200b23d8ffc630a36f170008 (diff) | |
download | volse-hubzilla-46f67eaa1e40954267088ba67726adc0d389628c.tar.gz volse-hubzilla-46f67eaa1e40954267088ba67726adc0d389628c.tar.bz2 volse-hubzilla-46f67eaa1e40954267088ba67726adc0d389628c.zip |
AS2 Update and implement a first draft of AS2 Profile activities
Diffstat (limited to 'include/taxonomy.php')
-rw-r--r-- | include/taxonomy.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php index cfec8414a..90ccb6142 100644 --- a/include/taxonomy.php +++ b/include/taxonomy.php @@ -58,7 +58,7 @@ function term_item_parent_query($uid,$table,$s,$type = TERM_UNKNOWN, $type2 = '' $s = str_replace('*','%',$s); if($type2) { - $r = q("select parent from item left join term on term.oid = item.id where term.ttype in (%d, %d) and term.term like '%s' and term.uid = %d and term.otype = 1 and item.verb != '%s'", + $r = q("select parent from item left join term on term.oid = item.id where term.ttype in (%d, %d) and term.term like '%s' and term.uid = %d and term.otype = 1 and item.verb NOT IN ('Update', '%s')", intval($type), intval($type2), dbesc($s), @@ -67,7 +67,7 @@ function term_item_parent_query($uid,$table,$s,$type = TERM_UNKNOWN, $type2 = '' ); } else { - $r = q("select parent from item left join term on term.oid = item.id where term.ttype = %d and term.term like '%s' and term.uid = %d and term.otype = 1 and item.verb != '%s'", + $r = q("select parent from item left join term on term.oid = item.id where term.ttype = %d and term.term like '%s' and term.uid = %d and term.otype = 1 and item.verb NOT IN ('Update', '%s')", intval($type), dbesc($s), intval($uid), |