Ignore:
Timestamp:
08/26/08 21:17:44 (4 years ago)
Author:
hverton
Message:

Merged trunk revisions 1691:1701 into the PLi-Fusion branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PLi-Fusion/forum/viewthread.php

    r1691 r1702  
    302302                if (is_array($groups)) { 
    303303                    // check for group matching as well, start with the opposite of the 'bail out' value 
    304                     $ranking_match = $data2['rank_groups_and']; 
     304                    $ranking_match = $data2['rank_groups_and'] ? false : true; 
    305305                    foreach($groups as $group) { 
    306                         if ($data2['rank_groups_and']) { 
     306                        if ($data2['rank_groups_and'] == 0) { 
    307307                            // all should match 
    308308                            if (!checkusergroup($data['post_author'], $group)) { 
Note: See TracChangeset for help on using the changeset viewer.