| |
@@ -264,7 +264,7 @@
|
| |
"size" => $image->getLocalFile()->size, //in bytes, e.g. 2412586
|
| |
"user_id" => $image->getLocalFile()->getUser('id'), // int userId
|
| |
"user_text" => $image->getLocalFile()->getUser('text'), // the username
|
| |
- "description" => $image->getLocalFile()->getDescriptionText(),
|
| |
+ "description" => $image->getLocalFile()->getDescriptionText(new Language()),
|
| |
"url" => $image->getLocalFile()->url, // gives the relavive url for direct access of the uploaded media
|
| |
);
|
| |
|
| |
Signed-off-by: Pedro Moura pmoura@redhat.com