Index: trunk/kernel/include/portaluser.php =================================================================== diff -u -r1020 -r1067 --- trunk/kernel/include/portaluser.php (.../portaluser.php) (revision 1020) +++ trunk/kernel/include/portaluser.php (.../portaluser.php) (revision 1067) @@ -10,7 +10,8 @@ function clsPortalUser($UserId=NULL) { - $this->clsParsedItem(); + // $this->clsParsedItem(); + $this->clsItem(); $this->tablename=GetTablePrefix()."PortalUser"; $this->type=6; $this->BasePermission="USER"; @@ -313,6 +314,7 @@ global $objConfig, $objUsers, $objCatList,$objSession, $var_list_update, $var_list, $m_var_list_update; //echo "
"; print_r($element); echo ""; //echo "Tag Prefix: ".$this->TagPrefix." Element: ".$element->name."
";print_r($img); echo ""; } - else - { - if($default) - $img = $this->GetDefaultImage(); - } + elseif ($default) + { + $img = $this->GetDefaultImage(); + } + if($img) { if($element->attributes["_thumbnail"])