From 12bd96697544d7472e16486cf1dc88b5afaf0421 Mon Sep 17 00:00:00 2001 From: Dave Date: Sat, 19 May 2018 16:25:32 +0300 Subject: [PATCH 1/3] Update FormPanel.php --- src/Form/FormPanel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/FormPanel.php b/src/Form/FormPanel.php index c3b80c125..ad5e431f3 100644 --- a/src/Form/FormPanel.php +++ b/src/Form/FormPanel.php @@ -93,7 +93,7 @@ public function addBody($items) } $class = $this->getElements()->last(); - if (is_object($class) and get_class($class) === Body::class) { + if (is_object($class) && get_class($class) === Body::class) { $this->addElement(new Html('
')); } From fb820be1a7f1b2c32c30b0944f776740d2497cdb Mon Sep 17 00:00:00 2001 From: Dave Date: Sat, 19 May 2018 16:26:32 +0300 Subject: [PATCH 2/3] Update Page.php --- src/Navigation/Page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Navigation/Page.php b/src/Navigation/Page.php index ba7d64ee4..6f4b87235 100644 --- a/src/Navigation/Page.php +++ b/src/Navigation/Page.php @@ -131,7 +131,7 @@ public function getAccessLogic() */ public function render($view = null) { - if ($this->hasChild() and ! $this->hasClassProperty($class = config('navigation.class.has_child', 'treeview'))) { + if ($this->hasChild() && ! $this->hasClassProperty($class = config('navigation.class.has_child', 'treeview'))) { $this->setHtmlAttribute('class', $class); } From d2272eaa380d010c6a121d43d99637172ea55ce0 Mon Sep 17 00:00:00 2001 From: Dave Date: Sat, 19 May 2018 16:27:34 +0300 Subject: [PATCH 3/3] Update wysiwyg.blade.php --- resources/views/default/form/element/wysiwyg.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/default/form/element/wysiwyg.blade.php b/resources/views/default/form/element/wysiwyg.blade.php index f5f94638b..72205e2c7 100644 --- a/resources/views/default/form/element/wysiwyg.blade.php +++ b/resources/views/default/form/element/wysiwyg.blade.php @@ -18,4 +18,4 @@ {!! Form::textarea($name, $value, $attributes) !!} @include(app('sleeping_owl.template')->getViewPath('form.element.partials.errors')) - \ No newline at end of file +