Changeset 946


Ignore:
Timestamp:
Nov 19, 2005, 5:07:18 PM (18 years ago)
Author:
plg
Message:
  • bug 215 fixed: unvalidated user comments are not displayed on user comments common page anymore
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_5/comments.php

    r889 r946  
    288288    INNER JOIN '.COMMENTS_TABLE.' AS com
    289289    ON ic.image_id = com.image_id
    290   WHERE '.$since_options[$page['since']]['clause'].'
     290  WHERE validated = \'true\'
     291    AND '.$since_options[$page['since']]['clause'].'
    291292    AND '.$page['cat_clause'].'
    292293    AND '.$page['author_clause'].'
     
    330331    INNER JOIN '.COMMENTS_TABLE.' AS com
    331332    ON ic.image_id = com.image_id
    332   WHERE '.$since_options[$page['since']]['clause'].'
     333  WHERE validated = \'true\'
     334    AND '.$since_options[$page['since']]['clause'].'
    333335    AND '.$page['cat_clause'].'
    334336    AND '.$page['author_clause'].'
Note: See TracChangeset for help on using the changeset viewer.