-
Bug
-
Resolution: Fixed
-
Minor
-
1.7.7, 1.8.10, 1.9.6, 2.0
-
None
-
Oracle
-
MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
-
MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
-
Easy
Oracle treats the empty string as a NULL and so fails the NOT NULL requirement.
$url defaults to the empty string and so hits this problem.
$info also had this problem but was fixed in
revision 1.348
add_to_log just needs a similar fix for $url, i.e.
if ($CFG->type = 'oci8po') {
|
if (empty($info)) {
|
$info = ' ';
|
}
|
+ if (empty($url)) {
|
+ $url = ' ';
|
+ }
|
}
|