Index: bloginfo.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/bloginfo/bloginfo.module,v retrieving revision 1.6.2.3 diff -u -r1.6.2.3 bloginfo.module --- bloginfo.module 16 May 2007 03:03:23 -0000 1.6.2.3 +++ bloginfo.module 25 May 2007 18:41:43 -0000 @@ -104,12 +104,12 @@ //This is to update where info already exists in the database if (db_num_rows($results) == 1){ - db_query("Update {bloginfo} SET title = \"%s\", description = \"%s\", format = %d WHERE uid = %d", $edit['Title'], $edit['Description'], $edit['format'], arg(1)); + db_query("UPDATE {bloginfo} SET title = '%s', description = '%s', format = %d WHERE uid = %d", $edit['Title'], $edit['Description'], $edit['format'], arg(1)); } //This adds it to the database for the first time else { - db_query("INSERT INTO {bloginfo} (uid, title, description, format) VALUES (%d, \"%s\", \"%s\", %d)", arg(1), $edit['Title'], $edit['Description'], $edit['format']); + db_query("INSERT INTO {bloginfo} (uid, title, description, format) VALUES (%d, '%s', '%s', %d)", arg(1), $edit['Title'], $edit['Description'], $edit['format']); } } }