mirror of
https://github.com/PGYER/codefever.git
synced 2026-05-06 21:50:39 +08:00
fix(commit emails): getCommitEmails param type error
This commit is contained in:
@@ -32,7 +32,7 @@ class User_model extends CI_Model
|
||||
'notification' => (int) $item['u_notification_status'],
|
||||
'mfaEnabled' => $item['u_2fa'] ? TRUE : FALSE,
|
||||
'admin' => $item['u_admin'] ? TRUE : FALSE,
|
||||
'emails' => $this->getCommitEmails($item, !$extra),
|
||||
'emails' => $item ? $this->getCommitEmails($item, !$extra) : [],
|
||||
'unReadNotification' => $extra ? $this->notificationModel->unReadNotificationCount($item['u_key']) : 0,
|
||||
'status' => $item['u_status'] == COMMON_STATUS_NORMAL,
|
||||
'host' => YAML_HOST,
|
||||
|
||||
Reference in New Issue
Block a user