From b98a475d8093ef144743740b0b28051a68b0b77f Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 24 Jan 2015 20:56:10 +0000 Subject: [PATCH] Unset the generic $array variable to prevent duplicates in app -> default settings. --- app/provision/app_defaults.php | 3 +++ app/time_conditions/app_defaults.php | 3 +++ themes/enhanced/app_defaults.php | 3 +++ 3 files changed, 9 insertions(+) diff --git a/app/provision/app_defaults.php b/app/provision/app_defaults.php index e35483efd4..c52025a706 100644 --- a/app/provision/app_defaults.php +++ b/app/provision/app_defaults.php @@ -173,6 +173,9 @@ //$db->exec(check_sql($sql)); //echo "$var_name $var_value \n"; } + + //unset the array variable + unset($array); } ?> \ No newline at end of file diff --git a/app/time_conditions/app_defaults.php b/app/time_conditions/app_defaults.php index d0b462977a..33f933a6f7 100644 --- a/app/time_conditions/app_defaults.php +++ b/app/time_conditions/app_defaults.php @@ -61,7 +61,10 @@ if ($domains_processed == 1) { unset($orm); //print_r($message); } + unset($missing); + //unset the array variable + unset($array); } ?> \ No newline at end of file diff --git a/themes/enhanced/app_defaults.php b/themes/enhanced/app_defaults.php index 977d03f998..00d35cde4d 100644 --- a/themes/enhanced/app_defaults.php +++ b/themes/enhanced/app_defaults.php @@ -263,6 +263,9 @@ if ($domains_processed == 1) { //print_r($message); } } + + //unset the array variable + unset($array); } ?> \ No newline at end of file