Skip to content

Commit 53caf13

Browse files
Horde ReleaseHorde Release
authored andcommitted
fix: Use return value of _renderVarDisplay_image horde/turba#16 horde/turba#16
Also requires a change in horde/form
1 parent 94c53ae commit 53caf13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Horde/Core/Ui/VarRenderer/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ protected function _renderVarDisplay_image($form, &$var, &$vars)
12781278
$image = $var->getValue($vars);
12791279

12801280
/* Check if existing image data is being loaded. */
1281-
$var->type->loadImageData($image);
1281+
$image = $var->type->loadImageData($image);
12821282

12831283
if (empty($image['img'])) {
12841284
return '';

0 commit comments

Comments
 (0)