Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dp-ifacesoft committed Sep 9, 2020
1 parent 552b54a commit 527487d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Ice/Core/WidgetComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ protected function setTemplateClass($templateClass)
? $widgetComponentClass::getConfig()->get('render/template', true)
: $templateClass;

if ($this->templateClass && $this->templateClass[0] == '_') {
if ($this->templateClass && is_array($this->templateClass) && $this->templateClass[0] === '_') {
$this->templateClass = $widgetComponentClass . $this->templateClass;
}

Expand Down

0 comments on commit 527487d

Please sign in to comment.