Web · Wiki · Activities · Blog · Lists · Chat · Meeting · Bugs · Git · Translate · Archive · People · Donate

Commit 2fd54bfd7f4f1392333832de2e945f2a4691696d

update-aslo not showing latest FotoToon version #4488
  
5959require_once('../../config/config-local.php');
6060require_once('../../config/constants.php');
6161require_once('./functions.php');
62require_once('../../../vendors/sphinx/addonsSearch.php');
6263
63
64
6564/**
6665 * VARIABLES
6766 *
208208 }
209209
210210 if (isset($sql['appVersion'])) {
211 $where .= " AND CAST('{$sql['appVersion']}' AS DECIMAL(3,3)) >= CAST(appmin.version AS DECIMAL(3,3)) AND CAST('{$sql['appVersion']}' AS DECIMAL(3,3)) <= CAST(appmax.version AS DECIMAL(3,3))";
211 $version_int = AddonsSearch::convert_version($sql['appVersion']);
212 $where .= " AND {$version_int} >= appmin.version_int AND {$version_int} <= appmax.version_int";
212213 }
213214
214215 $os_query = ($sql['os_id']) ? " OR files.platform_id = {$sql['os_id']}" : ''; // Set up os_id.