@@ -292,11 +292,12 @@ |
||
292 | 292 | return $context->user()?->getGroups() ?? []; |
293 | 293 | } ); |
294 | 294 | } |
295 | - catch( \Exception $e ) {} // avoid errors if user is assigned to another site |
|
295 | + catch( \Exception $e ) |
|
296 | + { |
|
297 | +} // avoid errors if user is assigned to another site |
|
296 | 298 | |
297 | 299 | $context->setEditor( $guard->user()?->email ?: \Request::ip() ); |
298 | - } |
|
299 | - elseif( $ip = \Request::ip() ) |
|
300 | + } elseif( $ip = \Request::ip() ) |
|
300 | 301 | { |
301 | 302 | $context->setEditor( $ip ); |
302 | 303 | } |