Check the missing array has content before processing it.

This commit is contained in:
markjcrane
2016-05-04 00:22:35 -06:00
parent 7aa61e2d53
commit 3abaff004c
10 changed files with 63 additions and 58 deletions

View File

@@ -101,7 +101,7 @@ EOD;
function set_country_vars($db, $x) {
require "resources/countries.php";
// $country_iso=$_SESSION['domain']['country']['iso_code'];
//$country_iso=$_SESSION['domain']['country']['iso_code'];
$sql = "select default_setting_value as value from v_default_settings ";
$sql .= "where default_setting_name = 'iso_code' ";