diff options
author | friendica <info@friendica.com> | 2012-05-04 17:43:47 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-05-04 17:43:47 -0700 |
commit | d0dd22af570a06016053030fa468f83d14f25f5d (patch) | |
tree | b87ad2f8a56a712cf0fe95dc9570aacea33afc76 /include/text.php | |
parent | 7c6e8b30b28a3656f536ba338c3b124533fdadb7 (diff) | |
download | volse-hubzilla-d0dd22af570a06016053030fa468f83d14f25f5d.tar.gz volse-hubzilla-d0dd22af570a06016053030fa468f83d14f25f5d.tar.bz2 volse-hubzilla-d0dd22af570a06016053030fa468f83d14f25f5d.zip |
workaround to clean up orphaned filetags
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index 5d6adaea5..1b5b0afd4 100644 --- a/include/text.php +++ b/include/text.php @@ -1491,7 +1491,7 @@ function file_tag_unsave_file($uid,$item,$file,$cat = false) { intval($uid) ); - $r = q("select file from item where uid = %d " . file_tag_file_query('item',$file,(($cat) ? 'category' : 'file')), + $r = q("select file from item where uid = %d and deleted = 0 " . file_tag_file_query('item',$file,(($cat) ? 'category' : 'file')), intval($uid) ); |