mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-19416 fixed PHP 5.3 compatiblity issue - fixes weird use of constructors in quickforms
This commit is contained in:
parent
29750da13d
commit
3e8b394e08
15 changed files with 53 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue