We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74ec229 commit 31fed0eCopy full SHA for 31fed0e
Ajax/semantic/html/elements/HtmlEmoji.php
@@ -64,12 +64,12 @@ public function asLink($href=NULL,$target=NULL) {
64
return $this->addToProperty("class", "link");
65
}
66
67
- public function addLabel($label, $before, $emoji) {
+ public function addLabel($label, $before=false, $emoji=null) {
68
if($before)
69
$this->wrap($label);
70
else
71
$this->wrap("", $label);
72
- if(isset($emoji))
+ if($emoji!=null)
73
$this->setEmoji($emoji);
74
return $this;
75
0 commit comments