aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metastrings.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/metastrings.php')
-rw-r--r--engine/lib/metastrings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/metastrings.php b/engine/lib/metastrings.php
index a2f95b9f8..12ab87b27 100644
--- a/engine/lib/metastrings.php
+++ b/engine/lib/metastrings.php
@@ -59,7 +59,7 @@ function get_metastring_id($string, $case_sensitive = TRUE) {
if ($case_sensitive) {
$query = "SELECT * from {$CONFIG->dbprefix}metastrings where string= BINARY '$string' limit 1";
} else {
- $query = "SELECT * from {$CONFIG->dbprefix}metastrings where strcmp(string,'$string')=0";
+ $query = "SELECT * from {$CONFIG->dbprefix}metastrings where string = '$string'";
}
$row = FALSE;