mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed error with news modal windows
This commit is contained in:
parent
5cecf1f899
commit
30f7a48d7b
@ -172,6 +172,7 @@ unset($table);
|
|||||||
echo '<div id="right">';
|
echo '<div id="right">';
|
||||||
|
|
||||||
// News.
|
// News.
|
||||||
|
require_once 'general/news_dialog.php';
|
||||||
$options = [];
|
$options = [];
|
||||||
$options['id_user'] = $config['id_user'];
|
$options['id_user'] = $config['id_user'];
|
||||||
$options['modal'] = false;
|
$options['modal'] = false;
|
||||||
@ -188,6 +189,7 @@ if (!empty($news)) {
|
|||||||
$comparation_suffix = __('ago');
|
$comparation_suffix = __('ago');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$output_news = '<div id="news_board" class="new">';
|
$output_news = '<div id="news_board" class="new">';
|
||||||
foreach ($news as $article) {
|
foreach ($news as $article) {
|
||||||
$image = false;
|
$image = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user