Permalink
Browse files

MDL-12030 Double quotes used accidentally instead of single

  • Loading branch information...
1 parent fec02d7 commit e941d7248b418e1f0ed52c99c79a547c33f0cf4d sam_marshall committed Nov 12, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/blocks.php
View
@@ -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>";

0 comments on commit e941d72

Please sign in to comment.