summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d9f1895)
raw | patch | inline | side by side (parent: d9f1895)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Jan 2007 10:37:59 +0000 (10:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Jan 2007 10:37:59 +0000 (10:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5574 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 20948dea2271d54ef6e39c49dcb6592049b985b7..7f585a613dbf6e07eeb3ca5c38a8ca5e0ebc9f30 100644 (file)
$i = 0;
$EXT = array();
- $EXT[$i]['context'] = 'GOsa';
- $EXT[$i]['exten'] = $this->uid;
- $EXT[$i]['priority']= 1;
- $EXT[$i]['app'] = "Goto";
- $EXT[$i]['appdata'] = $newnums[$i_new_key]."|1";
- $i ++;
+
+ if(!is_numeric($this->uid)){
+ $EXT[$i]['context'] = 'GOsa';
+ $EXT[$i]['exten'] = $this->uid;
+ $EXT[$i]['priority']= 1;
+ $EXT[$i]['app'] = "Goto";
+ $EXT[$i]['appdata'] = $newnums[$i_new_key]."|1";
+ $i ++;
+ }
// Entension entries Hint / Dial / Goto
foreach($newnums as $s_telenums){