@@ -138,7 +138,7 @@ |
||
| 138 | 138 | { |
| 139 | 139 | global $config; |
| 140 | 140 | $ts_name = $config['similar_topics_postgres_ts_name']; |
| 141 | - foreach ($this->get_pg_indexes($field) AS $index) |
|
| 141 | + foreach ($this->get_pg_indexes($field) as $index) |
|
| 142 | 142 | { |
| 143 | 143 | if ($index == TOPICS_TABLE . '_' . $ts_name . '_' .$field) |
| 144 | 144 | { |