MDL-41384 course: do not show debugging message if $COURSE contains format options
commit7456c967663aaaea027f308d088e31a220b809e4
authorMarina Glancy <marina@moodle.com>
Fri, 10 Jan 2014 07:37:46 +0000 (10 15:37 +0800)
committerMarina Glancy <marina@moodle.com>
Fri, 31 Jan 2014 08:56:30 +0000 (31 16:56 +0800)
tree869b084d0a81b22483e8200c8643833d8a8a8b21
parente20497827d5f61018bf02d2b1690bdab792c2e25
MDL-41384 course: do not show debugging message if $COURSE contains format options

before showing debugging message make sure that field exists in database and not only in the object
course/edit.php
course/format/lib.php