(
|
$query = 'SELECT c.id, c.title, c.alias, c.description, c.published, c.approved, c.parent_id, c.deleteuserid, c.accessuserid, c.uploaduserid, c.owner_id, c.access, c.metakey, c.metadesc, c.latitude, c.longitude, c.zoom, c.geotitle, c.userfolder, c.image_id,' . |
|
' CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(\':\', c.id, c.alias) ELSE c.id END as slug '. |
|
' FROM #__phocagallery_categories AS c' . |
|
' WHERE c.id = '. (int) $this->_id; |
|
' AND c.approved = 1'; |
)
This should be (dot instead of semicolon)
' WHERE c.id = '. (int) $this->_id .
' AND c.approved = 1';
(
PhocaGallery/site/models/category.php
Lines 232 to 236 in baa0411
This should be (dot instead of semicolon)