Bug 42521: (bug 39055 follow-up) Fix login from suggestion.pl
If you try to login from suggestion/suggestion.pl you get a 500
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception:
DBD::mysql::st execute failed: Unknown column 'login_op' in 'WHERE' at
/kohadevbox/koha/Koha/Objects.pm line 401
Test plan:
Logout
hit /cgi-bin/koha/suggestion/suggestion.pl
login
=> Without this patch you get a 500
=> With this patch applied you get the suggestion list view
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 26abf4c73d)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
parent
7d2782203e
commit
8c66f2175d
|
|
@ -115,7 +115,7 @@ $suggestion_only->{STATUS} = $suggestion_ref->{STATUS};
|
|||
|
||||
delete $$suggestion_ref{$_}
|
||||
foreach
|
||||
qw( suggestedbyme op displayby tabcode notify filter_archived koha_login_context auth_forwarded_hash password userid );
|
||||
qw( suggestedbyme displayby tabcode notify filter_archived koha_login_context auth_forwarded_hash login_op login_password login_userid );
|
||||
|
||||
foreach my $key ( keys %$suggestion_ref ) {
|
||||
delete $suggestion_ref->{$key} if ( !$suggestion_ref->{$key} && ( $op eq 'else' ) );
|
||||
|
|
|
|||
Loading…
Reference in New Issue