Version 0.9.9b1
-replace icons with font awesome icons -display icons on tabs and hide it on mobile access -new block last results -new config values for last users, last results -replace config value football_host_timezone with football_time_shift -fixed errors on php 7 -remove unnecessary sql_freeresult calls -fixed non-numeric value errors
This commit is contained in:
@@ -184,6 +184,7 @@ class bank_module
|
||||
AND points_type IN (" . POINTS_MATCHDAY . ',' . POINTS_SEASON . ',' . POINTS_MOST_HITS . ',' . POINTS_MOST_HITS_AWAY . ')';
|
||||
$result = $db->sql_query($sql);
|
||||
$count_updates += $db->sql_affectedrows();
|
||||
$db->sql_freeresult($result);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -199,6 +200,7 @@ class bank_module
|
||||
HAVING win > 0";
|
||||
$result = $db->sql_query($sql);
|
||||
$points_ary = $db->sql_fetchrowset($result);
|
||||
$db->sql_freeresult($result);
|
||||
if (!$default_matchday)
|
||||
{
|
||||
$matchday = (curr_matchday($season, $league) > 0) ? curr_matchday($season, $league) : 1;
|
||||
@@ -351,6 +353,7 @@ class bank_module
|
||||
AND points_type = $type";
|
||||
$result = $db->sql_query($sql);
|
||||
$count_updates += $db->sql_affectedrows();
|
||||
$db->sql_freeresult($result);
|
||||
}
|
||||
$back_link = $this->u_action . '&action=list&s=' . $season . '&l=' . $league . '&t=' . $type . '&start=' . $start;
|
||||
trigger_error(sprintf($user->lang['LEAGUE_' . $points_var . ($count_updates == 1 ? '' : 'S')], $count_updates) . adm_back_link($back_link));
|
||||
|
||||
Reference in New Issue
Block a user