Permalink
Browse files

Merge branch 'm22_MDL-31085' of git://github.com/danmarsden/moodle in…

…to MOODLE_22_STABLE
  • Loading branch information...
2 parents 8c51b94 + 5796c92 commit a87151d552b649f15e866ebdf8c0c75f6bc06d8e Sam Hemelryk committed Feb 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 filter/data/filter.php
View
@@ -71,7 +71,7 @@ public function filter($text, array $options = array()) {
JOIN {data_content} dc ON dc.fieldid = df.id AND dc.recordid = dr.id
WHERE d.course ' . $coursesql . '
AND df.type = \'text\'
- AND ' . $DB->sql_compare_text('df.param1', 1) . ' = 1';
+ AND ' . $DB->sql_compare_text('df.param1', 1) . " = '1'";
if (!$contents = $DB->get_records_sql($sql, $params)) {
$nothingtodo = true;

0 comments on commit a87151d

Please sign in to comment.