Fix minore

This commit is contained in:
valentina 2024-06-13 09:40:48 +02:00
parent f1692799d8
commit 8e08deefa2
1 changed files with 1 additions and 1 deletions

View File

@ -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']);