Fix Bug #861: set flags - set of flags different to - admin console flags
[cacert-mgr.git] / manager / application / controllers / ManageAccountController.php
index e900d72..b07285b 100644 (file)
@@ -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);
         }