瀏覽代碼

Clear the $array variable before its used again

FusionPBX 1 年之前
父節點
當前提交
5c7a571e8f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      resources/classes/switch_settings.php

+ 1 - 0
resources/classes/switch_settings.php

@@ -229,6 +229,7 @@ if (!class_exists('switch_settings')) {
 					}
 					$x++;
 				}
+				unset($array);
 
 			//add the missing default settings
 				if (count($missing) > 0) {