Code

Updated Macro Bool values
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Nov 2008 11:48:41 +0000 (11:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Nov 2008 11:48:41 +0000 (11:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@12869 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/phoneaccount/class_phoneAccount.inc

index 95dee9728b886e315c3e77299a118bb26897ea34..bc97f0f7c79741049ac8c24177a79c4623e4eb84 100644 (file)
@@ -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';
               }
             }
           }