use profile attr in GalleryAction
This commit is contained in:
parent
30dac77caa
commit
9d913150d4
@ -149,8 +149,8 @@ class GalleryAction extends Action
|
|||||||
$profile_tag = new Notice_tag();
|
$profile_tag = new Notice_tag();
|
||||||
$profile_tag->query('SELECT DISTINCT(tag) ' .
|
$profile_tag->query('SELECT DISTINCT(tag) ' .
|
||||||
'FROM profile_tag, subscription ' .
|
'FROM profile_tag, subscription ' .
|
||||||
'WHERE tagger = ' . $profile->id . ' ' .
|
'WHERE tagger = ' . $this->profile->id . ' ' .
|
||||||
'AND ' . $usr . ' = ' . $profile->id . ' ' .
|
'AND ' . $usr . ' = ' . $this->profile->id . ' ' .
|
||||||
'AND ' . $lst . ' = tagged ' .
|
'AND ' . $lst . ' = tagged ' .
|
||||||
'AND tagger != tagged');
|
'AND tagger != tagged');
|
||||||
$tags = array();
|
$tags = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user