Merge branch 'ent-10893-Error-SQL-en-menu-de-welcome-tips' into 'develop'
fixed collation compatibily with older mysql versions See merge request artica/pandorafms!5683
This commit is contained in:
commit
bb0d637c3f
|
@ -570,7 +570,7 @@ class TipsWindow
|
|||
$sql = sprintf(
|
||||
'SELECT id, name AS language, title, text, url, enable
|
||||
FROM twelcome_tip t
|
||||
LEFT JOIN tlanguage l ON t.id_lang = l.id_language COLLATE utf8mb4_0900_ai_ci
|
||||
LEFT JOIN tlanguage l ON t.id_lang = l.id_language COLLATE utf8mb4_unicode_ci
|
||||
%s %s %s',
|
||||
$filter,
|
||||
$order,
|
||||
|
@ -582,7 +582,7 @@ class TipsWindow
|
|||
$sqlCount = sprintf(
|
||||
'SELECT count(*)
|
||||
FROM twelcome_tip t
|
||||
LEFT JOIN tlanguage l ON t.id_lang = l.id_language COLLATE utf8mb4_0900_ai_ci
|
||||
LEFT JOIN tlanguage l ON t.id_lang = l.id_language COLLATE utf8mb4_unicode_ci
|
||||
%s',
|
||||
$filter
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue