/core/points_bank.php (Lines 211 and 212)
Code: Select all
$fees = (is_array($row) && $row['fees']);
$holding = (is_array($row) && $row['holding']);
Code: Select all
$fees = (is_array($row) && $row['fees']) ? $row['fees'] : 0;
$holding = (is_array($row) && $row['holding']) ? $row['holding'] : 0;
/core/points_bank.php (Lines 274)
Code: Select all
$holding = (is_array($row) && $row['holding']);
Code: Select all
$holding = (is_array($row) && $row['holding']) ? $row['holding'] : 0;
/core/points_main.php (Lines 167)
Code: Select all
'L_MAIN_BANK_HAVE' => sprintf($this->user->lang['MAIN_BANK_HAVE'], $this->functions_points->number_format_points(is_array($row) && $row['holding']), $this->config['points_name']),
Code: Select all
'L_MAIN_BANK_HAVE' => sprintf($this->user->lang['MAIN_BANK_HAVE'], $this->functions_points->number_format_points($row['holding']), $this->config['points_name']),

