Some temporary work on reg controller, make searchArrayToWhere work again on Postgres, a=chris
Some temporary work on reg controller, make searchArrayToWhere work again on Postgres, a=chris
diff --git a/src/models/Model.php b/src/models/Model.php
index 10f9157b5..6a6c9a2f0 100755
--- a/src/models/Model.php
+++ b/src/models/Model.php
@@ -457,8 +457,8 @@ class Model implements CrawlConstants
$where .= $where_and;
switch ($comparison) {
case "=":
- $where .= "$field_name)='".
- $db->escapeString($value)."')";
+ $where .= "$field_name='".
+ $db->escapeString($value)."'";
break;
case "!=":
$where .= "$field_name!='".