Commit 197d82fb authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#188498 follow up by pwolanin: using double quotes in pgsql queries is not possible

parent 80f533d3
......@@ -2693,7 +2693,7 @@ function system_update_6037() {
function system_update_6038() {
$ret = array();
if (db_table_exists('profile_fields')) {
$ret[] = update_sql('UPDATE {profile_fields} SET category = "Account settings" WHERE LOWER(category) = "account"');
$ret[] = update_sql("UPDATE {profile_fields} SET category = 'Account settings' WHERE LOWER(category) = 'account'");
if ($affectedrows = db_affected_rows()) {
drupal_set_message(t('There were @affectedrows profile fields that used a reserved category name. They have been assigned to the category "Account settings".', array('@affectedrows' => $affectedrows)));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment