#1293 Fix Upload TypeError #10877
Merged a year ago by kevin. Opened a year ago by phsmoura.
fedora-infra/ phsmoura/ansible main  into  main

@@ -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

    );

  

Build succeeded.

rebased onto d3b4521

a year ago

Awesome. Great detective work!

Would you like to run the playbook for this or would you like me to?

Pull-Request has been merged by kevin

a year ago

Build succeeded.

Metadata