Marius Cramer
2013-12-27 ab4939d9eaa0b474a3be6c8baea04e30ad158296
Fixed:  FS#3042 - APS installer invalid ID error with Joomla
patch from: http://www.howtoforge.com/forums/showthread.php?t=62788&page=2
1 files modified
1 ■■■■ changed files
interface/lib/classes/aps_guicontroller.inc.php 1 ●●●● patch | view | raw | blame | history
interface/lib/classes/aps_guicontroller.inc.php
@@ -155,6 +155,7 @@
            CONCAT(version, '-', CAST(`release` AS CHAR)) AS current_version
            FROM aps_packages
            WHERE name = (SELECT name FROM aps_packages WHERE id = ".$app->db->quote($id).")
            AND package_status = 2
            ORDER BY REPLACE(version, '.', '')+0 DESC, `release` DESC");
        if(!empty($result) && ($id != $result['id'])) return $result['id'];