1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

system user getter mislogic

This commit is contained in:
secretr 2012-03-22 15:34:47 +00:00
parent db723a8b84
commit 87eae79ba1

View File

@ -1203,6 +1203,9 @@ class e107
{
return self::getUser();
}
if(!$user_id) return self::getObject('e_system_user');
$user = self::getRegistry('core/e107/user/'.$user_id);
if(null === $user)
{