diff --git a/lib/QUI/Bricks/Brick.php b/lib/QUI/Bricks/Brick.php index ca14aaca3c4b80b2ab0272f9d9099fded19cdf38..a756aa2bdedbdd4d9c287ceba9fcde77118c700c 100644 --- a/lib/QUI/Bricks/Brick.php +++ b/lib/QUI/Bricks/Brick.php @@ -147,7 +147,7 @@ public function getType() { $Control = $this->_getControl(); - if ($Control) { + if (is_object($Control)) { return get_class($Control); }