summaryrefslogtreecommitdiff
path: root/lib/galleryaction.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-22 17:12:03 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-01-22 17:12:03 +0100
commit9d913150d4c3b967207837eb07afe890638944ac (patch)
treecdb06b9a9767f00a75d4e7837fce59b1c3cabd7c /lib/galleryaction.php
parent30dac77caa4a42fbfbf1dedcf34f80d59ed500b8 (diff)
use profile attr in GalleryAction
Diffstat (limited to 'lib/galleryaction.php')
-rw-r--r--lib/galleryaction.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/galleryaction.php b/lib/galleryaction.php
index b36f1ea34..a277762a6 100644
--- a/lib/galleryaction.php
+++ b/lib/galleryaction.php
@@ -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();