MDL-12030 Double quotes used accidentally instead of single

This commit is contained in:
sam_marshall
2007-11-12 11:43:34 +00:00
parent fec02d75b9
commit e941d7248b
+1 -1
View File
@@ -185,7 +185,7 @@
$count = count_records_sql('SELECT COUNT(*)
FROM '.$CFG->prefix.'block_instance
WHERE blockid = '.$blockid.' AND
pagetype = "course-view"');
pagetype = \'course-view\'');
if ($count>0) {
$blocklist = "<a href=\"{$CFG->wwwroot}/course/search.php?blocklist=$blockid&amp;sesskey={$USER->sesskey}\" ";
$blocklist .= "title=\"$strshowblockcourse\" >$count</a>";