Skip to content

Commit 4f019af

Browse files
committed
fix issue #3
1 parent 91a0d31 commit 4f019af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/LightboxDisplayer.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ public function zooming()
3535

3636
public function display(array $options = [])
3737
{
38+
if (empty($this->value)) {
39+
return '';
40+
}
41+
3842
$server = array_get($options, 'server');
3943
$width = array_get($options, 'width', 200);
4044
$height = array_get($options, 'height', 200);

0 commit comments

Comments
 (0)