NewsItem images: file / url
This commit is contained in:
@@ -24,7 +24,7 @@ SELECT `news`.`id`, `content`.`title`, `content`.`content`, `news`.`podcast`
|
||||
QUERY;
|
||||
|
||||
private static $LOAD_IMAGES =
|
||||
'SELECT `id`, `file` AS `url`, `description` AS `title` FROM `news_pictures` WHERE `news` = ? AND `active` = 1';
|
||||
'SELECT `id`, `file`, `description` AS `title` FROM `news_pictures` WHERE `news` = ? AND `active` = 1';
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
|
||||
Reference in New Issue
Block a user