mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-25 13:28:33 +01:00
Fix minore
This commit is contained in:
parent
f1692799d8
commit
8e08deefa2
@ -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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user