Code

Pre-initailized variable
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 30 Mar 2008 17:13:47 +0000 (17:13 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 30 Mar 2008 17:13:47 +0000 (17:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10070 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc

index d8bac82893a425191e8544ee2b39d211ebeb1e78..70af9a0ee50089292f8d73d1647916f88d383882 100644 (file)
@@ -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."\";";
       }