X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiImageRotate.php;h=2b9935341b06aeee1c1ab55db2b28fab2cc6759e;hb=a5b975edd132e52ee8ce1c725d8195da941c8b7b;hp=b309149eacef8b1329f3ebaaba650e599277838b;hpb=a85d1b9d0cd7f02111d3a647d5b91e3b1f334563;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiImageRotate.php b/includes/api/ApiImageRotate.php index b309149eac..2b9935341b 100644 --- a/includes/api/ApiImageRotate.php +++ b/includes/api/ApiImageRotate.php @@ -111,9 +111,9 @@ class ApiImageRotate extends ApiBase { $tmpFile = TempFSFile::factory( 'rotate_', $ext ); $dstPath = $tmpFile->getPath(); $err = $handler->rotate( $file, [ - "srcPath" => $srcPath, - "dstPath" => $dstPath, - "rotation" => $rotation + 'srcPath' => $srcPath, + 'dstPath' => $dstPath, + 'rotation' => $rotation ] ); if ( !$err ) { $comment = wfMessage(