use profile attr in GalleryAction

This commit is contained in:
Evan Prodromou 2009-01-22 17:12:03 +01:00
parent 30dac77caa
commit 9d913150d4
1 changed files with 2 additions and 2 deletions

View File

@ -149,8 +149,8 @@ class GalleryAction extends Action
$profile_tag = new Notice_tag();
$profile_tag->query('SELECT DISTINCT(tag) ' .
'FROM profile_tag, subscription ' .
'WHERE tagger = ' . $profile->id . ' ' .
'AND ' . $usr . ' = ' . $profile->id . ' ' .
'WHERE tagger = ' . $this->profile->id . ' ' .
'AND ' . $usr . ' = ' . $this->profile->id . ' ' .
'AND ' . $lst . ' = tagged ' .
'AND tagger != tagged');
$tags = array();