diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-28 19:18:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-28 19:18:08 +0000 |
commit | a938e18a1bd36d887010863817470b690fdbf6f3 (patch) | |
tree | adbc7edb165255a47739fdbe7e0184c241f6340c /modules/profile/profile.test | |
parent | ff8b0618f5892d165720453efcd318b0d85a6f8c (diff) | |
download | brdo-a938e18a1bd36d887010863817470b690fdbf6f3.tar.gz brdo-a938e18a1bd36d887010863817470b690fdbf6f3.tar.bz2 |
- Patch #491556 by Berdir: completed converting core to DBTNG. Oh my. Kudos to Berdir for this humongous effort.
Diffstat (limited to 'modules/profile/profile.test')
-rw-r--r-- | modules/profile/profile.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.test b/modules/profile/profile.test index e60883d59..ac6872efa 100644 --- a/modules/profile/profile.test +++ b/modules/profile/profile.test @@ -37,7 +37,7 @@ class ProfileTestCase extends DrupalWebTestCase { $edit['explanation'] = $this->randomName(50); $this->drupalPost('admin/user/profile/add/' . $type, $edit, t('Save field')); - $fid = db_result(db_query("SELECT fid FROM {profile_field} WHERE title = '%s'", $title)); + $fid = db_query("SELECT fid FROM {profile_field} WHERE title = :title", array(':title' => $title))->fetchField(); $this->assertTrue($fid, t('New Profile field has been entered in the database')); // Check that the new field is appearing on the user edit form. |