Skip to content

Commit

Permalink
Merge pull request #839 from aios/development
Browse files Browse the repository at this point in the history
Make Kudos
  • Loading branch information
Dave authored May 21, 2018
2 parents 44d9704 + d2272ea commit 41f2d52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/default/form/element/wysiwyg.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
{!! Form::textarea($name, $value, $attributes) !!}

@include(app('sleeping_owl.template')->getViewPath('form.element.partials.errors'))
</div>
</div>
2 changes: 1 addition & 1 deletion src/Form/FormPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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('<hr />'));
}

Expand Down
2 changes: 1 addition & 1 deletion src/Navigation/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 41f2d52

Please sign in to comment.