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