@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * User: Phreak |
|
| 3 | + * User: Phreak |
|
| 4 | 4 | * Date: 13.02.2015 |
| 5 | 5 | * Time: 09:31 ч. |
| 6 | 6 | */ |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | |
| 22 | 22 | if ($object_id) { |
| 23 | 23 | $query->innerJoin($this->table, $this->table . '.term_id = taxonomy_terms.id') |
| 24 | - ->onCondition("$this->table.object_id = $object_id"); |
|
| 24 | + ->onCondition("$this->table.object_id = $object_id"); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | return ArrayHelper::getColumn($query->all(), 'term'); |