Bug 30724: Fix selenium tests - fix logic if no borrowernumber passed
Then consider we want to edit the logged in user settings Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
1a6e53b7c1
commit
b4bc754439
|
|
@ -45,7 +45,7 @@ if ( $TwoFactorAuthentication ne 'enabled' && $TwoFactorAuthentication ne 'enfor
|
|||
my $op = $cgi->param('op') // '';
|
||||
my $patron_id = $cgi->param('borrowernumber') // '';
|
||||
|
||||
my $another_user = $patron_id ne $loggedinuser;
|
||||
my $another_user = $patron_id && $patron_id ne $loggedinuser;
|
||||
|
||||
my $logged_in_user = Koha::Patrons->find($loggedinuser);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue