Skip to content

Commit ff374cb

Browse files
committed
Fix possible error
1 parent 56b57b0 commit ff374cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Images.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function imagesParse($column = null, $index = null, $array = false)
3939

4040
public function image($column = null, $index = 0)
4141
{
42-
return trim($this->imagesParse($column, $index)[0]) ?: null;
42+
return trim($this->imagesParse($column, $index)[0] ?? null) ?: null;
4343
}
4444

4545
public function imageCaption($column = null, $index = 0)

0 commit comments

Comments
 (0)