mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
8c24938c1f
commit
77a98adbc8
@ -21,7 +21,7 @@ class TicketController extends Controller
|
||||
abort(500, '工单不存在');
|
||||
}
|
||||
$ticket['message'] = TicketMessage::where('ticket_id', $ticket->id)->get();
|
||||
for ($i = 0; $i <= count($ticket['message']); $i++) {
|
||||
for ($i = 0; $i < count($ticket['message']); $i++) {
|
||||
if ($ticket['message'][$i]['user_id'] == $request->session()->get('id')) {
|
||||
$ticket['message'][$i]['is_me'] = true;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user