From 9f75b61dad2beb8655a3e1b1c8b5f17792e6c196 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 3 Nov 2008 11:48:41 +0000 Subject: [PATCH 1/1] Updated Macro Bool values git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@12869 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/phoneaccount/class_phoneAccount.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'; } } } -- 2.30.2