use single quotes in sql

This commit is contained in:
Brenda Wallace 2009-06-27 10:32:50 +12:00
parent 565dec0e21
commit 3722b90a27
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class GroupTagCloudSection extends TagCloudSection
$quoted = array();
foreach ($names as $name) {
$quoted[] = "\"$name\"";
$quoted[] = "'$name'";
}
$namestring = implode(',', $quoted);