From: Evan Prodromou Date: Thu, 22 Jan 2009 16:12:03 +0000 (+0100) Subject: use profile attr in GalleryAction X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9d913150d4c3b967207837eb07afe890638944ac;p=quix0rs-gnu-social.git use profile attr in GalleryAction --- diff --git a/lib/galleryaction.php b/lib/galleryaction.php index b36f1ea34b..a277762a65 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();