From bb191191380d9671610de59ddef8b6fe24d31345 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 1 Apr 2008 15:39:56 +0000 Subject: Fixed the menu item function git-svn-id: https://code.elgg.org/elgg/trunk@317 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 3d1329e08..f90179b4f 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -355,7 +355,7 @@ */ function make_register_object($register_name, $register_value, $children_array = array()) { - if (empty($register_name) || empty($subregister_name) || empty($register_array)) + if (empty($register_name) || empty($register_value)) return false; $register = new stdClass; -- cgit v1.2.3