From 2da8c3e8428f09bab7aefa39cadc0a4f2d6f7a80 Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 19 Nov 2010 22:34:17 +0000 Subject: improving interactions of widgets - containment wasn't working due to height issues git-svn-id: http://code.elgg.org/elgg/trunk@7353 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/lib/widgets.php b/engine/lib/widgets.php index 1343e1319..1646c18d4 100644 --- a/engine/lib/widgets.php +++ b/engine/lib/widgets.php @@ -57,7 +57,7 @@ function elgg_get_widgets($user_guid, $context) { * @since 1.8 */ function elgg_create_widget($owner_guid, $handler, $access_id = null) { - if (empty($owner_guid) || empty($handler) || !elgg_widget_type_exists($handler)) { + if (empty($owner_guid) || empty($handler) || !elgg_is_widget_type($handler)) { return false; } -- cgit v1.2.3