1
0
Fork 0

workaround to clean up orphaned filetags

This commit is contained in:
friendica 2012-05-04 17:43:47 -07:00
parent 7c6e8b30b2
commit d0dd22af57

View file

@ -1491,7 +1491,7 @@ function file_tag_unsave_file($uid,$item,$file,$cat = false) {
intval($uid) 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) intval($uid)
); );