summaryrefslogtreecommitdiff
path: root/modules/path/path.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/path/path.test')
-rw-r--r--modules/path/path.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/path/path.test b/modules/path/path.test
index d781316d1..f13b12fcd 100644
--- a/modules/path/path.test
+++ b/modules/path/path.test
@@ -127,7 +127,7 @@ class PathTestCase extends DrupalWebTestCase {
}
function getPID($dst) {
- return db_result(db_query("SELECT pid FROM {url_alias} WHERE dst = '%s'", $dst));
+ return db_query("SELECT pid FROM {url_alias} WHERE dst = :dst", array(':dst' => $dst))->fetchField();
}
}