Fix capcodes in PHP7.2. Close #299

This commit is contained in:
Fredrick Brennan committed 2018-07-27 20:08:03 +08:00
1 parent 41cfd500de
commit ac971f36d5
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -212,8 +212,8 @@ function check_login($prompt = false) {
}
$mod = array(
'id' => $user['id'],
'type' => $user['type'],
'id' => (int)$user['id'],
'type' => (int)$user['type'],
'username' => $cookie[0],
'boards' => explode(',', $user['boards'])
);