summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manager/application/controllers/ManageAccountController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/manager/application/controllers/ManageAccountController.php b/manager/application/controllers/ManageAccountController.php
index e900d72..b07285b 100644
--- a/manager/application/controllers/ManageAccountController.php
+++ b/manager/application/controllers/ManageAccountController.php
@@ -443,7 +443,7 @@ class ManageAccountController extends Zend_Controller_Action
foreach ($labels as $flag => $label) {
$checkbox = new Zend_Form_Element_Checkbox($flag);
$checkbox->setLabel($label)
- ->setChecked($row[$flag] === 1);
+ ->setChecked($row[$flag] === '1');
$form->addElement($checkbox);
}