Ticket #189: remove_debug_Statistics.diff

File remove_debug_Statistics.diff, 0.6 KB (added by drazzib@…, 14 years ago)

Patch at the right format

  • classes/Statistics.php

    old new  
    542542                    global $db; 
    543543                $username = $db->escapeString($_REQUEST['stats_selected_users']); 
    544544                $row = null; 
    545                 $db->execSqlUniqueRes("SELECT user_id FROM users WHERE username='$username'", $row, true); 
     545                $db->execSqlUniqueRes("SELECT user_id FROM users WHERE username='$username'", $row, false); 
    546546                if ($row) 
    547547                { 
    548548                    $user_id = $row['user_id'];