This commit is contained in:
Joey Kimsey
2024-12-20 05:56:18 -05:00
parent 5fe1c3aafe
commit 1c5b020a87
23 changed files with 45 additions and 30 deletions

View File

@ -681,6 +681,10 @@ class User extends DatabaseModel {
Debug::error( "User: $id not updated." );
return false;
}
if ( $id === App::$activeUser->ID ) {
$userData = $this->get( $id );
App::$activeUser = $userData;
}
return true;
}