MDL-19416 fixed PHP 5.3 compatiblity issue - fixes weird use of constructors in quickforms

This commit is contained in:
skodak 2009-06-07 09:43:27 +00:00
parent 29750da13d
commit 3e8b394e08
15 changed files with 53 additions and 1 deletions

View file

@ -14,6 +14,10 @@ require_once($CFG->libdir.'/form/password.php');
*/
class MoodleQuickForm_passwordunmask extends MoodleQuickForm_password {
function MoodleQuickForm_passwordunmask($elementName=null, $elementLabel=null, $attributes=null) {
parent::MoodleQuickForm_password($elementName, $elementLabel, $attributes);
}
function toHtml() {
if ($this->_flagFrozen) {
return $this->getFrozenHtml();