Ignore:
Timestamp:
Jul 15, 2011, 8:26:28 AM (13 years ago)
Author:
george
Message:
  • Uvozovky v názvech v SQL dotazech.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/system/generators/queue.php

    r266 r317  
    6969  $ItemsQueue[] = array('name' => $Member['Name'].'-in', 'limit-at' => $SpeedOut, 'max-limit' => $UserMaxSpeedOut, 'parent' => 'main-in');
    7070
    71   $DbResult2 = $Database->select('NetworkDevice', 'COUNT(*)', 'Used = 1 AND Member='.$Member['Id']);
     71  $DbResult2 = $Database->select('NetworkDevice', 'COUNT(*)', '(`Used` = 1) AND (`Member`='.$Member['Id'].')');
    7272  $Row = $DbResult2->fetch_row();
    7373  $HostCount = $Row[0];
Note: See TracChangeset for help on using the changeset viewer.