Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-19555_m19' of git://github.com/rwijaya/moodle into …

…MOODLE_19_STABLE
  • Loading branch information...
commit 49e0d5d5e31a72b331c178d0b75187244ef080e2 2 parents fd602f4 + 04b4210
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/weblib.php
View
2  lib/weblib.php
@@ -1502,7 +1502,7 @@ function format_text($text, $format=FORMAT_MOODLE, $options=NULL, $courseid=NULL
static $croncache = array();
- if ($text === '') {
+ if ($text === '' || is_null($text)) {
return ''; // no need to do any filters and cleaning
}
Please sign in to comment.
Something went wrong with that request. Please try again.