Commit 5db215ae authored by Fredrik Sundblom's avatar Fredrik Sundblom

Fixed a typecast error

parent d269b872
......@@ -69,7 +69,7 @@ class ImageController extends BaseController {
$responseData = \GuzzleHttp\json_decode($response->getBody(), true);
error_log( $responseData['success'] );
error_log( 'Create successful: ' . print_r($responseData['success'], true) );
if ($responseData['success'] !== true) {
//TODO File allready exist, publish again with uniqe filename.
error_log( "Throwing exception in ImageController");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment