pepebe
10/21/2012 - 9:55 PM

MODx: Login - Bugfix for broken checkboxes in updateprofile.php

MODx: Login - Bugfix for broken checkboxes in updateprofile.php

<?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'));