Created
October 21, 2012 21:55
-
-
Save pepebe/3928666 to your computer and use it in GitHub Desktop.
MODx: Login - Bugfix for broken checkboxes in updateprofile.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Bugfix for broken checkboxes in updateprofile.php | |
file: core/components/login/controllers/web/UpdateProfile.php | |
insert just before line 156 | |
*/ | |
/* ppb: bugfix: http://tracker.modx.com/issues/8795 */ | |
foreach($placeholders as $index => $placeholder){ | |
if(is_array($placeholder)) $placeholders[$index] = implode(',',$placeholder); | |
} | |
/* End bugfix */ | |
/*156*/ $this->modx->toPlaceholders($placeholders,$this->getProperty('placeholderPrefix')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment