freaking commit messages
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user