global $DATA, $_CONFIG;
// Latest online time
- $since = 0;
+ $since = 0; $min_users = 0; $min_prices = 0;
if (EXT_IS_ACTIVE("autopurge")) {
$since = $_CONFIG['ap_inactive_since'];
} // END - if
// Load rallye data
- list($id, $title, $start, $end, $notify, $min_users, $min_prices) = SQL_FETCHROW($result);
+ if (GET_EXT_VERSION("rallye") >= "0.2.0") {
+ list($id, $title, $start, $end, $notify, $min_users, $min_prices) = SQL_FETCHROW($result);
+ } else {
+ list($id, $title, $start, $end, $notify) = SQL_FETCHROW($result);
+ }
+
+ // Free result
SQL_FREERESULT($result);
// Load users array (!) with assigned prices
{
global $_CONFIG, $cacheArray;
// Check current refs
- if (GET_EXT_VERSION("cache") >= "0.1.2")
+ if ((GET_EXT_VERSION("cache") >= "0.1.2") && (isset($cacheArray['ref_system'])))
{
// Get refs from cache
$cnt = 0;