summaryrefslogtreecommitdiff
path: root/modules/path
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-18 00:04:24 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-18 00:04:24 +0000
commite18feedfdb429e35173b85fc7182aadabee0a166 (patch)
tree20c8e64d4db97378fad2bc27689b9b88e9390f1f /modules/path
parent6a1217aff08d3380658ef47e0e9d9d693683c66a (diff)
downloadbrdo-e18feedfdb429e35173b85fc7182aadabee0a166.tar.gz
brdo-e18feedfdb429e35173b85fc7182aadabee0a166.tar.bz2
#564394 by Berdir and Crell: Removed database BC layer. nah nah nah nah... hey hey hey... gooood byeeee...
Diffstat (limited to 'modules/path')
-rw-r--r--modules/path/path.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/path/path.admin.inc b/modules/path/path.admin.inc
index 0bcbf5636..cccf5e649 100644
--- a/modules/path/path.admin.inc
+++ b/modules/path/path.admin.inc
@@ -15,7 +15,7 @@ function path_admin_overview($keys = NULL) {
// Add the filter form above the overview table.
$build['path_admin_filter_form'] = drupal_get_form('path_admin_filter_form', $keys);
// Enable language column if locale is enabled or if we have any alias with language
- $alias_exists = (bool) db_query_range('SELECT 1 FROM {url_alias} WHERE language <> :language', array(':language' => ''), 0, 1)->fetchField();
+ $alias_exists = (bool) db_query_range('SELECT 1 FROM {url_alias} WHERE language <> :language', 0, 1, array(':language' => ''))->fetchField();
$multilanguage = (module_exists('locale') || $alias_exists);
$header = array(