- $result = SQL_QUERY_ESC("SELECT ext_has_css, ext_active FROM `{?_MYSQL_PREFIX?}_extensions` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `ext_has_css`, `ext_active` FROM `{?_MYSQL_PREFIX?}_extensions` WHERE `id`=%s LIMIT 1",
array(bigintval($ext_id)), __FILE__, __LINE__);
list($css, $active) = SQL_FETCHROW($result);
SQL_FREERESULT($result);
} else {
array(bigintval($ext_id)), __FILE__, __LINE__);
list($css, $active) = SQL_FETCHROW($result);
SQL_FREERESULT($result);
} else {
array(bigintval($ext_id)), __FILE__, __LINE__);
list($active) = SQL_FETCHROW($result);
SQL_FREERESULT($result);
array(bigintval($ext_id)), __FILE__, __LINE__);
list($active) = SQL_FETCHROW($result);
SQL_FREERESULT($result);
- if (isExtensionInstalledAndNewer('sql_patches', '0.0.6')) $cssSelection = translateYesNo($content['ext_css']);
+ if (isExtensionInstalledAndNewer('sql_patches', '0.0.6')) {
+ $cssSelection = translateYesNo($content['ext_css']);
+ } // END - if