mirror of
https://github.com/e107inc/e107.git
synced 2025-01-18 05:09:05 +01:00
system user getter mislogic
This commit is contained in:
parent
db723a8b84
commit
87eae79ba1
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user