mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-19163 restore - avoid some notices. Merged from 19_STABLE
This commit is contained in:
parent
66f8c14c2e
commit
2a8435c4ce
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@
|
|||
|
||||
if ($form1 = data_submitted()) {
|
||||
$currentcourseshortname = $course_header->course_shortname; //"store_ShortName";
|
||||
$course_header->course_shortname = $form1->shortname; //"update_ShortName";
|
||||
$course_header->course_fullname = $form1->fullname; //"update_FullName";
|
||||
$course_header->course_shortname = !empty($form1->shortname) ? $form1->shortname : ''; //"update_ShortName";
|
||||
$course_header->course_fullname = !empty($form1->fullname) ? $form1->fullname : ''; //"update_FullName";
|
||||
/// Roll dates only if the backup course has a start date
|
||||
/// (some formats like main page, social..., haven't it and rolling dates
|
||||
/// from 0 produces crazy dates. MDL-10125 and we have passed some custom startyear/month/day. MDL-12922
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue