diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 15:39:56 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 15:39:56 +0000 |
commit | bb191191380d9671610de59ddef8b6fe24d31345 (patch) | |
tree | dc8f562d5510c29cb41c02969fe8508e733569fe | |
parent | e7c72f0efa37a62586a61c4c9060864d749f8ad9 (diff) | |
download | elgg-bb191191380d9671610de59ddef8b6fe24d31345.tar.gz elgg-bb191191380d9671610de59ddef8b6fe24d31345.tar.bz2 |
Fixed the menu item function
git-svn-id: https://code.elgg.org/elgg/trunk@317 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/elgglib.php | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|