mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-34692' of git://github.com/raymondAntonio/moodle
This commit is contained in:
commit
223285a640
@ -2578,8 +2578,9 @@ class assign {
|
||||
|
||||
$data = new stdClass();
|
||||
$adminconfig = $this->get_admin_config();
|
||||
$requiresubmissionstatement = !empty($adminconfig->requiresubmissionstatement) ||
|
||||
$this->get_instance()->requiresubmissionstatement;
|
||||
$requiresubmissionstatement = (!empty($adminconfig->requiresubmissionstatement) ||
|
||||
$this->get_instance()->requiresubmissionstatement) &&
|
||||
!empty($adminconfig->submissionstatement);
|
||||
|
||||
$submissionstatement = '';
|
||||
if (!empty($adminconfig->submissionstatement)) {
|
||||
@ -3277,8 +3278,9 @@ class assign {
|
||||
|
||||
$data = new stdClass();
|
||||
$adminconfig = $this->get_admin_config();
|
||||
$requiresubmissionstatement = !empty($adminconfig->requiresubmissionstatement) ||
|
||||
$this->get_instance()->requiresubmissionstatement;
|
||||
$requiresubmissionstatement = (!empty($adminconfig->requiresubmissionstatement) ||
|
||||
$this->get_instance()->requiresubmissionstatement) &&
|
||||
!empty($adminconfig->submissionstatement);
|
||||
|
||||
$submissionstatement = '';
|
||||
if (!empty($adminconfig->submissionstatement)) {
|
||||
@ -4016,8 +4018,9 @@ class assign {
|
||||
// Submission statement.
|
||||
$adminconfig = $this->get_admin_config();
|
||||
|
||||
$requiresubmissionstatement = !empty($adminconfig->requiresubmissionstatement) ||
|
||||
$this->get_instance()->requiresubmissionstatement;
|
||||
$requiresubmissionstatement = (!empty($adminconfig->requiresubmissionstatement) ||
|
||||
$this->get_instance()->requiresubmissionstatement) &&
|
||||
!empty($adminconfig->submissionstatement);
|
||||
|
||||
$draftsenabled = $this->get_instance()->submissiondrafts;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user