[FIX] Solved a SQL syntax problem while using the latest MariaDB version.

这个提交包含在:
Matteo Bilotta 2021-09-28 21:34:32 +02:00 提交者 Matteo Bilotta
父节点 aa909524a7
当前提交 c1854515c7
找不到此签名对应的密钥
GPG 密钥 ID: 1BA9280A794E4281

查看文件

@ -362,7 +362,7 @@ class User_Model extends CI_Model {
// FUNCTION: array timezones()
// Returns a list of timezones
function timezones() {
$r = $this->db->query('SELECT id, name FROM timezones ORDER BY offset');
$r = $this->db->query('SELECT id, name FROM timezones ORDER BY `offset`');
$ts = array();
foreach ($r->result_array() as $t) {
$ts[$t['id']] = $t['name'];