diff --git a/etemplate/inc/class.boetemplate.inc.php b/etemplate/inc/class.boetemplate.inc.php index d439774f4b..6396425221 100644 --- a/etemplate/inc/class.boetemplate.inc.php +++ b/etemplate/inc/class.boetemplate.inc.php @@ -488,7 +488,7 @@ class boetemplate extends soetemplate */ public function widgetExists($type) { - return isset(self::$types[$tpye]) || $this->haveExtension($type); + return isset(self::$types[$type]) || $this->haveExtension($type); } /**