From f65d3913aa59e110133c187f7552f292e4ec1c6e Mon Sep 17 00:00:00 2001 From: e107steved Date: Sun, 5 Oct 2008 20:41:05 +0000 Subject: [PATCH] Add missing parameter (for asperon) --- e107_files/shortcode/user_extended.sc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_files/shortcode/user_extended.sc b/e107_files/shortcode/user_extended.sc index 03d78bcfa..bac5a89fc 100644 --- a/e107_files/shortcode/user_extended.sc +++ b/e107_files/shortcode/user_extended.sc @@ -38,7 +38,7 @@ if ($parms[0] != LAN_410) { $ret_cause = 0; if (!check_class($ueStruct["user_".$parms[0]]['user_extended_struct_applicable'], $udata['user_class'])) $ret_cause = 1; - if (!check_class($ueStruct["user_".$parms[0]]['user_extended_struct_read'])) $ret_cause = 2; + if (!check_class($ueStruct["user_".$parms[0]]['user_extended_struct_read'], $udata['user_class'])) $ret_cause = 2; if (($ueStruct["user_".$parms[0]]['user_extended_struct_read'] == e_UC_READONLY && (!ADMIN && $udata['user_id'] != USERID))) $ret_cause = 3; if ((!ADMIN && substr($ueStruct["user_".$parms[0]]['user_extended_struct_parms'], -1) == 1 && strpos($udata['user_hidden_fields'], "^user_".$parms[0]."^") !== FALSE && $uid != USERID)) $ret_cause = 4;