mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
Use Guzzle\Http\Url for medias
This commit is contained in:
@@ -520,7 +520,7 @@ class module_report_nav extends module_report
|
||||
$this->result[] = array(
|
||||
'photo' =>
|
||||
"<img style='width:" . $x->get_width() . "px;height:" . $x->get_height() . "px;'
|
||||
src='" . $x->get_url() . "'>"
|
||||
src='" . (string) $x->get_url() . "'>"
|
||||
, 'record_id' => $record->get_record_id()
|
||||
, 'date' => $this->app['date-formatter']->getPrettyString($document->get_creation_date())
|
||||
, 'type' => $document->get_mime()
|
||||
|
Reference in New Issue
Block a user