Some temporary work on reg controller, make searchArrayToWhere work again on Postgres, a=chris

Chris Pollett [2016-02-10 17:Feb:th]
Some temporary work on reg controller, make searchArrayToWhere work again on Postgres, a=chris
Filename
src/models/Model.php
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!='".
ViewGit