Index: trunk/phase3/includes/search/SearchPostgres.php |
— | — | @@ -148,7 +148,7 @@ |
149 | 149 | |
150 | 150 | ## We need a separate query here so gin does not complain about empty searches |
151 | 151 | $SQL = "SELECT to_tsquery($prefix $searchstring)"; |
152 | | - $res = $this->db->query($SQL); |
| 152 | + $res = $this->db->doQuery($SQL); |
153 | 153 | if (!$res) { |
154 | 154 | ## TODO: Better output (example to catch: one 'two) |
155 | 155 | die ("Sorry, that was not a valid search string. Please go back and try again"); |