Merge branch 'ent-4371-noticias-modales-no-funcionan' into 'develop'

Fixed error with news modal windows

See merge request artica/pandorafms!2655
This commit is contained in:
Daniel Rodriguez 2019-08-30 14:25:43 +02:00
commit e322e58dbb
1 changed files with 2 additions and 0 deletions

View File

@ -172,6 +172,7 @@ unset($table);
echo '<div id="right">';
// News.
require_once 'general/news_dialog.php';
$options = [];
$options['id_user'] = $config['id_user'];
$options['modal'] = false;
@ -188,6 +189,7 @@ if (!empty($news)) {
$comparation_suffix = __('ago');
}
$output_news = '<div id="news_board" class="new">';
foreach ($news as $article) {
$image = false;