NewsItem images: file / url

This commit is contained in:
mischa.spelt committed 2017-06-07 01:23:32 +02:00
1 parent 3f726e884d
commit d6a90d8144
2 files changed
+10 -4

No files matched your search

+1 -1
View File
@@ -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.