diff options
author | friendica <info@friendica.com> | 2012-07-09 22:48:51 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-09 22:48:51 -0700 |
commit | 5355193b6342910ec69ec172846027ac9353d2b3 (patch) | |
tree | 9ebe1cfea820b8ce73756f78cd6b2361a349bb4f /mod | |
parent | 4b066e04f619c2c6f8d383daee9ceab49f39acdc (diff) | |
download | volse-hubzilla-5355193b6342910ec69ec172846027ac9353d2b3.tar.gz volse-hubzilla-5355193b6342910ec69ec172846027ac9353d2b3.tar.bz2 volse-hubzilla-5355193b6342910ec69ec172846027ac9353d2b3.zip |
theme cleanup
Diffstat (limited to 'mod')
-rw-r--r-- | mod/filerm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/filerm.php b/mod/filerm.php index f70816266..a37e80b31 100644 --- a/mod/filerm.php +++ b/mod/filerm.php @@ -18,9 +18,9 @@ function filerm_content(&$a) { logger('filerm: tag ' . $term . ' item ' . $item_id); if($item_id && strlen($term)) { - $r = q("delete from term where uid = %d and type = %d and oid = %d and $term = '%s' limit 1", + $r = q("delete from term where uid = %d and type = %d and oid = %d and term = '%s' limit 1", intval(local_user()), - intval(($category) ? FILE_CATEGORY : FILE_HASHTAG), + intval(($category) ? TERM_CATEGORY : TERM_FILE), intval($item_id), dbesc($term) ); |