Changeset 2474


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_7/admin/rating.php

    r1912 r2474  
    260260    if ( isset($users[$row['user_id']]) )
    261261    {
    262       $user = $users[$row['user_id']];
     262      $user_rate = $users[$row['user_id']];
    263263    }
    264264    else
    265265    {
    266       $user = '? '. $row['user_id'];
     266      $user_rate = '? '. $row['user_id'];
    267267    }
    268268    if ( strlen($row['anonymous_id'])>0 )
    269269    {
    270       $user .= '('.$row['anonymous_id'].')';
     270      $user_rate .= '('.$row['anonymous_id'].')';
    271271    }
    272272
     
    275275         'DATE' => format_date($row['date']),
    276276         'RATE' => $row['rate'],
    277          'USER' => $user,
     277         'USER' => $user_rate,
    278278         'U_DELETE' => $url_del
    279279       )
Note: See TracChangeset for help on using the changeset viewer.