Skip to content

Commit

Permalink
Merge pull request magento#1173 from kelly-thorn/patch-1
Browse files Browse the repository at this point in the history
Changed getCssClass to hasCssClass.
  • Loading branch information
almarchenko authored May 24, 2017
2 parents 157d2a7 + 6f4253d commit 8413d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/v2.0/frontend-dev-guide/layouts/xml-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ Using the value of <code>css_class</code> in <code><a href="{{site.mage2000url}}

{%highlight php%}
...
$cssClass = $this->getCssClass() ? ' ' . $this->getCssClass() : '';
$cssClass = $this->hasCssClass() ? ' ' . $this->getCssClass() : '';
...
{%endhighlight %}

Expand Down

0 comments on commit 8413d6f

Please sign in to comment.