mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 19:40:44 +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)
|
protected function getInfo($options)
|
||||||
{
|
{
|
||||||
if ($options['type'] == 'print') {
|
if ($options['type'] == 'print') {
|
||||||
$print = PrintTemplate::where('name',$options['id'])->first()->id;
|
$print = PrintTemplate::where('name',$options['id'])->first();
|
||||||
|
|
||||||
if (empty($print)) {
|
if (empty($print)) {
|
||||||
$print = PrintTemplate::find($options['id']);
|
$print = PrintTemplate::find($options['id']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user