mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 02:54:26 +00:00
Fix unit tests
This commit is contained in:
@@ -1778,7 +1778,7 @@ class API_V1_adapter extends API_V1_Abstract
|
||||
'created_on' => $basket->getCreated()->format(DATE_ATOM),
|
||||
'description' => (string) $basket->getDescription(),
|
||||
'name' => $basket->getName(),
|
||||
'pusher_usr_id' => $basket->getPusher()->getId(),
|
||||
'pusher_usr_id' => $basket->getPusher() ? $basket->getPusher()->getId() : null,
|
||||
'updated_on' => $basket->getUpdated()->format(DATE_ATOM),
|
||||
'unread' => !$basket->getIsRead(),
|
||||
'validation_basket' => !!$basket->getValidation()
|
||||
|
Reference in New Issue
Block a user