1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Missing parameter

This commit is contained in:
e107steved
2007-04-14 16:50:50 +00:00
parent f56cbb9d18
commit 89276c289a

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/user_extended_class.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/user_extended_class.php,v $
| $Revision: 1.4 $ | $Revision: 1.5 $
| $Date: 2007-03-04 13:53:37 $ | $Date: 2007-04-14 16:50:50 $
| $Author: mrpete $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -109,6 +109,8 @@ class e107_user_extended
return $ret; return $ret;
} }
// Get the definition of all fields, or those in a specific category, grouped by category ID
function user_extended_get_fields($cat = "") function user_extended_get_fields($cat = "")
{ {
global $sql; global $sql;
@@ -123,7 +125,8 @@ class e107_user_extended
return $ret; return $ret;
} }
function user_extended_get_fieldList() // Get the definition of all fields, or those in a specific category, indexed by field ID
function user_extended_get_fieldList($cat = "")
{ {
global $sql; global $sql;
$more = ($cat) ? " AND user_extended_struct_parent = ".intval($cat)." " : ""; $more = ($cat) ? " AND user_extended_struct_parent = ".intval($cat)." " : "";