mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-32094 fix various E_STRICT compatibility problems
This commit is contained in:
parent
0ed6f71232
commit
f20edd5208
27 changed files with 53 additions and 42 deletions
|
@ -77,8 +77,8 @@ final class portfolio_export_form extends moodleform {
|
|||
&& $this->_customdata['expectedtime'] != PORTFOLIO_TIME_LOW
|
||||
&& $this->_customdata['expectedtime'] != PORTFOLIO_TIME_FORCEQUEUE) {
|
||||
$radioarray = array();
|
||||
$radioarray[] = &MoodleQuickForm::createElement('radio', 'wait', '', get_string('wait', 'portfolio'), 1);
|
||||
$radioarray[] = &MoodleQuickForm::createElement('radio', 'wait', '', get_string('dontwait', 'portfolio'), 0);
|
||||
$radioarray[] = $mform->createElement('radio', 'wait', '', get_string('wait', 'portfolio'), 1);
|
||||
$radioarray[] = $mform->createElement('radio', 'wait', '', get_string('dontwait', 'portfolio'), 0);
|
||||
$mform->addGroup($radioarray, 'radioar', get_string('wanttowait_' . $this->_customdata['expectedtime'], 'portfolio') , array(' '), false);
|
||||
$mform->setDefault('wait', 0);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue