diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-18 11:10:16 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-18 11:10:16 +0000 |
commit | 09fba458f79b8b1b1940405911915feade1989bf (patch) | |
tree | bd8d4de9adea9fe1300939a1e823c1e30c141976 /views/default/input | |
parent | d5a0e61b33283eb5e0f042cfd29ab6f8bbd5ae02 (diff) | |
download | elgg-09fba458f79b8b1b1940405911915feade1989bf.tar.gz elgg-09fba458f79b8b1b1940405911915feade1989bf.tar.bz2 |
Fixes #17 - Debug mode toggle. Introduced unset_config() which is also called automatically by set_config(). Also modified the view input/checkboxes to set values on the checkbox.
git-svn-id: https://code.elgg.org/elgg/trunk@961 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input')
-rw-r--r-- | views/default/input/checkboxes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/input/checkboxes.php b/views/default/input/checkboxes.php index 3addef0f6..1a10b8a62 100644 --- a/views/default/input/checkboxes.php +++ b/views/default/input/checkboxes.php @@ -19,7 +19,8 @@ */
foreach($vars['options'] as $option) {
- if (!in_array($option,$vars['value'])) {
+ //if (!in_array($option,$vars['value'])) { + if ($option != $vars['value']) {
$selected = "";
} else {
$selected = "checked = \"checked\"";
|