From: Aaron Schulz Date: Fri, 2 May 2014 23:33:14 +0000 (-0700) Subject: Added missing File::RENDER_NOW flag to thumb.php X-Git-Tag: 1.31.0-rc.0~15907 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=5d286fad03dbc8e722904fe56df2a2478c67edd8;p=lhc%2Fweb%2Fwiklou.git Added missing File::RENDER_NOW flag to thumb.php Change-Id: I5f05b09272ebcad5cf8409af7ad61d9e9004a2f0 --- diff --git a/thumb.php b/thumb.php index 3d49a4353b..59bf8dcffd 100644 --- a/thumb.php +++ b/thumb.php @@ -394,7 +394,7 @@ function wfGenerateThumbnail( File $file, array $params, $thumbName, $thumbPath // If the worker that finished made this thumbnail then use it. // Otherwise, it probably made a different thumbnail for this file. return $file->getRepo()->fileExists( $thumbPath ) - ? $file->transform( $params ) + ? $file->transform( $params, File::RENDER_NOW ) : false; // retry once more in exclusive mode }, 'fallback' => function() {