freaking commit messages

This commit is contained in:
2021-11-29 13:33:06 +01:00
parent 916cef6006
commit 63a8476f37
4 changed files with 72 additions and 97 deletions

View File

@ -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;
}
}