mirror of
https://github.com/kevachat/webapp.git
synced 2025-01-22 12:34:25 +00:00
fix undefined time value for pending transactions
This commit is contained in:
parent
4539cdfd13
commit
ed9b29da14
@ -1174,7 +1174,7 @@ class RoomController extends AbstractController
|
||||
'txid' => $data['txid'],
|
||||
'key' => $data['key'],
|
||||
'message' => $data['value'],
|
||||
'time' => $transaction['time'],
|
||||
'time' => isset($transaction['time']) ? $transaction['time'] : time(),
|
||||
'user' => $user
|
||||
];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user