Ignore:
Timestamp:
Aug 15, 2008, 9:54:01 PM (16 years ago)
Author:
rub
Message:

Resolved issue 0000842: Variable $user is erased on rating page

Merge branch-1_7 2473:2474 into BSF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/rating.php

    r2299 r2475  
    230230    if ( isset($users[$row['user_id']]) )
    231231    {
    232       $user = $users[$row['user_id']];
     232      $user_rate = $users[$row['user_id']];
    233233    }
    234234    else
    235235    {
    236       $user = '? '. $row['user_id'];
     236      $user_rate = '? '. $row['user_id'];
    237237    }
    238238    if ( strlen($row['anonymous_id'])>0 )
    239239    {
    240       $user .= '('.$row['anonymous_id'].')';
     240      $user_rate .= '('.$row['anonymous_id'].')';
    241241    }
    242242
     
    245245         'DATE' => format_date($row['date']),
    246246         'RATE' => $row['rate'],
    247          'USER' => $user,
     247         'USER' => $user_rate,
    248248         'U_DELETE' => $url_del
    249249     );
Note: See TracChangeset for help on using the changeset viewer.