#11001 images tips default en_gb

This commit is contained in:
Jonathan 2023-05-31 13:07:24 +02:00
parent fdfd55643e
commit 577428d193
1 changed files with 6 additions and 0 deletions

View File

@ -289,6 +289,12 @@ class TipsWindow
WHERE enable = "1" AND id_lang = "'.$language.'"';
$sql .= ' ORDER BY CASE WHEN id_lang = "'.$language.'" THEN id_lang END DESC, RAND()';
$tip = db_get_row_sql($sql);
$tip['files'] = $this->getFilesFromTip($tip['id']);
$tip['title'] = io_safe_output($tip['title']);
$tip['text'] = io_safe_output($tip['text']);
$tip['url'] = io_safe_output($tip['url']);
}
if ($return) {