Ad Widget

Collapse

MySQL error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mjs
    Junior Member
    • Mar 2009
    • 2

    #1

    MySQL error

    Version 1.6.2

    line 2076 of include/forms.inc.php:

    Code:
    $db_targets = DBselect($target_sql.' order by target_name');
    causes a MySQL error when trying to copy a selected item to a host group. This line adds an extra "ORDER BY" clause to the MySQL statement on line 2055. Changing line 2076 to:

    Code:
    $db_targets = DBselect($target_sql);
    Fixes the problem.
    Last edited by mjs; 27-03-2009, 18:29. Reason: Added version.
Working...