From: cajus Date: Sun, 30 Mar 2008 17:13:47 +0000 (+0000) Subject: Pre-initailized variable X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d735815b828241100e7f5ba467c81d2dee17368a;p=gosa.git Pre-initailized variable git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10070 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc index d8bac8289..70af9a0ee 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc +++ b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc @@ -687,6 +687,7 @@ class phoneAccount extends plugin /* Remove old entries */ $query = array(); $query[]= "DELETE FROM ".$a_New['EXT_TABLE']." WHERE exten=\"".$this->uid."\";"; + $oldnums= array(); foreach($oldnums as $s_telenums){ $query[]= "DELETE FROM ".$a_New['EXT_TABLE']." WHERE exten=\"".$s_telenums."\";"; }