freaking commit messages
This commit is contained in:
parent
916cef6006
commit
63a8476f37
4 changed files with 72 additions and 97 deletions
|
|
@ -412,7 +412,7 @@ class CrayonLang extends CrayonVersionResource {
|
|||
if (array_key_exists($name, $this->elements) && $element === NULL) {
|
||||
return $this->elements[$name];
|
||||
} else if (is_object($element)) {
|
||||
if (@get_class($element) == CRAYON_ELEMENT_CLASS) {
|
||||
if (get_class($element) == CRAYON_ELEMENT_CLASS) {
|
||||
$this->elements[$name] = $element;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue