From 059078cb4a41b2bfa28d9054ea798bb28014baeb Mon Sep 17 00:00:00 2001
From: cajus ".
+ _("This account has no phone extensions.")."";
+ $display.= back_to_main();
+ return ($display);
+ }
/* force postmodify event, to restart phones */
+ if ($this->parent != NULL){
+ $this->parent->by_object['user']->is_modified=TRUE;
+ $this->is_modified= TRUE;
- $this->parent->by_object['user']->is_modified=TRUE;
- $this->is_modified=TRUE;
-
- $this->uid = $this->parent->by_object['user']->uid;
- $this->cn = $this->parent->by_object['user']->cn;
-
+ $this->uid = $this->parent->by_object['user']->uid;
+ $this->cn = $this->parent->by_object['user']->cn;
+ }
/* Do we need to flip is_account state? */
if (isset($_POST['modify_state'])){
@@ -499,7 +488,7 @@ class phoneAccount extends plugin
/* tell user that the pluging selected is no longer available*/
if((!$this->macrostillavailable)&&($this->macro!="none")){
- print_red(_("The macro you selected in the past, is no longer available for you, please choose another one."));
+ print_red(_("The macro you selected, is no longer available for you, please choose another one."));
}
/* Prepare templating */
diff --git a/plugins/gofon/phoneaccount/main.inc b/plugins/gofon/phoneaccount/main.inc
index a25c5b9df..19bc2be78 100644
--- a/plugins/gofon/phoneaccount/main.inc
+++ b/plugins/gofon/phoneaccount/main.inc
@@ -114,6 +114,7 @@ if (!$remove_lock){
$display.= "\n";
}
$display.= "