Changeset 1682 in ExiteCMS


Ignore:
Timestamp:
08/25/08 17:34:38 (3 years ago)
Author:
hverton
Message:

fixed selecting the wrong rank if multiple were defined with the same posts range, but different group memberships

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/viewthread.php

    r1654 r1682  
    301301                } 
    302302                if (is_array($groups)) { 
    303                     // check for group matching as well, assume a match will be found 
    304                     $ranking_match = true; 
     303                    // check for group matching as well, start with the opposite of the 'bail out' value 
     304                    $ranking_match = $data2['rank_groups_and']; 
    305305                    foreach($groups as $group) { 
    306306                        if ($data2['rank_groups_and']) { 
Note: See TracChangeset for help on using the changeset viewer.