#11001 images tips default en_gb
This commit is contained in:
parent
fdfd55643e
commit
577428d193
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue