summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 11937bf)
raw | patch | inline | side by side (parent: 11937bf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 23 Mar 2006 05:13:08 +0000 (05:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 23 Mar 2006 05:13:08 +0000 (05:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2899 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/phoneaccount/class_phoneAccount.inc | patch | blob | history |
diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc
index 85270ffa99c1409f52b79c3d22d5da15bba8de8f..f67504caeea04325ff1502cf997052adb8fa5a48 100644 (file)
$SQL[] = "DELETE FROM ".$a_SETUP['VOICE_TABLE']." WHERE customer_id=".$newnums[$i_new_key].";";
// Delete old entries
$b_first_deleted =false;
- if(is_array($oldnums)){
+ if(isset($oldnums) && is_array($oldnums)){
foreach($oldnums as $s_telenums){
$SQL[] = "DELETE FROM ".$a_SETUP['EXT_TABLE']." WHERE exten='".$s_telenums."';\n";
if(!$b_first_deleted){
return($display);
}
+ function saveCopyDialog()
+ {
+ $this->execute();
+ if(isset($_POST['goFonVoicemailPIN'])) {
+ $this->goFonVoicemailPIN = $_POST['goFonVoicemailPIN'];
+ }
+ if(isset($_POST['goFonPIN'])){
+ $this->goFonPIN = $_POST['goFonPIN'];
+ }
+ }
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: