From 8e08deefa28ff80b56eb0ee48112ccf092ae900d Mon Sep 17 00:00:00 2001 From: valentina Date: Thu, 13 Jun 2024 09:40:48 +0200 Subject: [PATCH] Fix minore --- src/HTMLBuilder/Manager/ButtonManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTMLBuilder/Manager/ButtonManager.php b/src/HTMLBuilder/Manager/ButtonManager.php index f17cb91a1..790a4ac39 100755 --- a/src/HTMLBuilder/Manager/ButtonManager.php +++ b/src/HTMLBuilder/Manager/ButtonManager.php @@ -49,7 +49,7 @@ class ButtonManager implements ManagerInterface protected function getInfo($options) { if ($options['type'] == 'print') { - $print = PrintTemplate::where('name',$options['id'])->first()->id; + $print = PrintTemplate::where('name',$options['id'])->first(); if (empty($print)) { $print = PrintTemplate::find($options['id']);