J! 3.3 Stable
File : /administrator/components/com_content/models/article.php
For some reasons, it happens that the array
$associations[$item->language] = $item->id;
ends with a null element
Hence,
->where('id IN (' . implode(',', $associations) . ')');
leads to something like "id IN (3188, )"
which gives an error because of the ending comma.
Fix :
after the line :
$associations[$item->language] = $item->id;
add an array_filter :
$associations = array_filter($associations);
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-05-04 17:37:25 |
Labels |
Added:
?
|
Closing this as there is a PR with the same information