1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

Bugtracker #3513 - show extended user fields in categories during signup

This commit is contained in:
e107steved
2007-07-30 20:25:36 +00:00
parent b63785bb9a
commit 0ebc06b0a6
3 changed files with 60 additions and 23 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/user_extended_class.php,v $
| $Revision: 1.6 $
| $Date: 2007-06-13 22:03:01 $
| $Author: e107coders $
| $Revision: 1.7 $
| $Date: 2007-07-30 20:25:30 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -129,7 +129,7 @@ class e107_user_extended
function user_extended_get_fieldList($cat = "")
{
global $sql;
$more = ($cat) ? " AND user_extended_struct_parent = ".intval($cat)." " : "";
$more = ($cat != '') ? " AND user_extended_struct_parent = ".intval($cat)." " : "";
if($sql->db_Select("user_extended_struct", "*", "user_extended_struct_type > 0 {$more} ORDER BY user_extended_struct_order ASC"))
{
while($row = $sql->db_Fetch())