From: hickert Date: Mon, 3 Nov 2008 11:48:41 +0000 (+0000) Subject: Updated Macro Bool values X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9f75b61dad2beb8655a3e1b1c8b5f17792e6c196;p=gosa.git Updated Macro Bool values git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@12869 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index 95dee9728..bc97f0f7c 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -1183,9 +1183,9 @@ class phoneAccount extends plugin if(isset($_POST['post_success'])){ if($this->macroarray[$this->macro][$key]['type']=="bool"){ if(isset($_POST[$this->macroarray[$this->macro][$key]['var']])) { - $this->macroarray[$this->macro][$key]['choosen']=$_POST[$paras['var']]; + $this->macroarray[$this->macro][$key]['choosen']='1'; }else{ - $this->macroarray[$this->macro][$key]['choosen']=false; + $this->macroarray[$this->macro][$key]['choosen']='0'; } } }