diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-19 22:34:17 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-19 22:34:17 +0000 |
commit | 2da8c3e8428f09bab7aefa39cadc0a4f2d6f7a80 (patch) | |
tree | a29bd9de401337c69575b402793d0a8bef1f32e7 /engine/lib | |
parent | e99c8b979a149dc6693b0e82762a9ca550ece86b (diff) | |
download | elgg-2da8c3e8428f09bab7aefa39cadc0a4f2d6f7a80.tar.gz elgg-2da8c3e8428f09bab7aefa39cadc0a4f2d6f7a80.tar.bz2 |
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
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/widgets.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |