summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-07-24 10:00:45 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-07-24 10:00:45 +0000
commit3894f24f6ee89d991dde493902f43bd4fc1b9b68 (patch)
tree0555714a808892fc98373ee0cf6f68ede2fcc9e8 /modules
parent5dbdef7c07252ed740128155a85d397c392e3faa (diff)
downloadbrdo-3894f24f6ee89d991dde493902f43bd4fc1b9b68.tar.gz
brdo-3894f24f6ee89d991dde493902f43bd4fc1b9b68.tar.bz2
locale.module
- Made the module search a little less picky so it also shows admin strings.
Diffstat (limited to 'modules')
-rw-r--r--modules/locale.module2
-rw-r--r--modules/locale/locale.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/locale.module b/modules/locale.module
index 384d2f8a9..05d6d4318 100644
--- a/modules/locale.module
+++ b/modules/locale.module
@@ -143,7 +143,7 @@ function locale_search() {
if (is_array($edit)) {
if ($edit[language] && $edit[status]) $query[] = check_input($edit[language]) . (check_input($edit[status]) == 1 ? " !=" : " =") ." ''";
- if ($edit[module]) $query[] = "location LIKE '%module.php?mod=". check_input($edit[module]) ."%'";
+ if ($edit[module]) $query[] = "location LIKE '%mod=". check_input($edit[module]) ."%'";
if ($edit[string]) $query[] = "string LIKE '%". check_input($edit[string]) ."%'";
$result = db_query("SELECT * FROM locales". (count($query) ? " WHERE ". @implode(" && ", $query) : ""));
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index 384d2f8a9..05d6d4318 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -143,7 +143,7 @@ function locale_search() {
if (is_array($edit)) {
if ($edit[language] && $edit[status]) $query[] = check_input($edit[language]) . (check_input($edit[status]) == 1 ? " !=" : " =") ." ''";
- if ($edit[module]) $query[] = "location LIKE '%module.php?mod=". check_input($edit[module]) ."%'";
+ if ($edit[module]) $query[] = "location LIKE '%mod=". check_input($edit[module]) ."%'";
if ($edit[string]) $query[] = "string LIKE '%". check_input($edit[string]) ."%'";
$result = db_query("SELECT * FROM locales". (count($query) ? " WHERE ". @implode(" && ", $query) : ""));