tbrehm
2012-01-18 ce6f0ed6878e07ff0ac71fc706bc26ad8008ac91
Fixed a sql query in software_update_list.php
1 files modified
2 ■■■ changed files
interface/web/admin/software_update_list.php 2 ●●● patch | view | raw | blame | history
interface/web/admin/software_update_list.php
@@ -161,7 +161,7 @@
    foreach($installed_packages as $ip) {
        
        // Get version number of the latest installed version
        $sql = "SELECT v1, v2, v3, v4 FROM software_update, software_update_inst WHERE software_update.software_update_id = software_update_inst.software_update_id AND server_id = 1 ORDER BY v1 DESC , v2 DESC , v3 DESC , v4 DESC LIMIT 0,1";
        $sql = "SELECT v1, v2, v3, v4 FROM software_update, software_update_inst WHERE software_update.software_update_id = software_update_inst.software_update_id AND server_id = ".$server_id." ORDER BY v1 DESC , v2 DESC , v3 DESC , v4 DESC LIMIT 0,1";
        $lu = $app->db->queryOneRecord($sql);
        
        // Get all installable updates