diff --git a/src/controller/room.php b/src/controller/room.php index ed2d63b..8e17514 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -558,7 +558,7 @@ class Room } // Make sure time available - if (empty($transaction['time'])) + if (!$time = $transaction['time']) { return null; }