Skip to content
Browse files

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

…MOODLE_19_STABLE
  • Loading branch information...
2 parents fd602f4 + 04b4210 commit 49e0d5d5e31a72b331c178d0b75187244ef080e2 @stronk7 stronk7 committed Mar 14, 2011
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
}

0 comments on commit 49e0d5d

Please sign in to comment.
Something went wrong with that request. Please try again.