diff --git a/checkin_notes b/checkin_notes index 83bf452314..11dc4ce7be 100755 --- a/checkin_notes +++ b/checkin_notes @@ -11594,3 +11594,13 @@ David 9 Sept 2005 sched/ validator.C + +Bruce 10 Sept 2005 + - user profiles: do NOT display pictures in Gallery where admin has + rejected profile. Janus, I don't know if this is complete enough + to prevent rejected pictures from EVER being shown. Do you? + + html/ + inc/ + gallery.inc + diff --git a/html/inc/gallery.inc b/html/inc/gallery.inc index b0f5db58df..b0a08d4957 100644 --- a/html/inc/gallery.inc +++ b/html/inc/gallery.inc @@ -59,7 +59,7 @@ function build_picture_pages($width, $height) { // TODO: Standardize "Last modified" string to a function call (util.inc). - $query = "SELECT userid FROM profile WHERE has_picture = 1"; + $query = "SELECT userid FROM profile WHERE has_picture = 1 AND verification=1"; $result = mysql_query($query); $numIds = mysql_num_rows($result);