Skip to content

Commit a345153

Browse files
committed
Return an empty array
Signed-off-by: Andrew Welch <andrew@nystudio107.com>
1 parent 297a2e9 commit a345153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/Transcode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ public function getFileInfo($filePath, $summary = false)
469469
Craft::info(print_r($result, true), __METHOD__);
470470
// Handle the case it not being JSON
471471
if (!is_array($result)) {
472-
$result = null;
472+
$result = [];
473473
}
474474
// Trim down the arrays to just a summary
475475
if ($summary && !empty($result)) {

0 commit comments

Comments
 (0)