Changeset 22141


Ignore:
Timestamp:
Apr 11, 2013, 4:26:44 PM (11 years ago)
Author:
plg
Message:

bug 2887 fixed: avoid private photos to be returned as results on user comment
search with the appropriate author.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/comments.php

    r20609 r22141  
    149149{
    150150  $page['where_clauses'][] =
    151     'u.'.$conf['user_fields']['username'].' = \''.$_GET['author'].'\'
    152      OR author = \''.$_GET['author'].'\'';
     151    '(u.'.$conf['user_fields']['username'].' = \''.$_GET['author'].'\' OR author = \''.$_GET['author'].'\')';
    153152}
    154153
Note: See TracChangeset for help on using the changeset viewer.