Bug 18934: Preventing warns in Admin -> SMS providers
This patch initialises the $op variable to prevent the warns
To test:
1) Go to admin -> sms providers
2) Notice warns in error log
3) Apply patch and refresh page
4) Notice warns are gone
Sponsored-by: Catalyst IT
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 88ab0ef579)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
7d2bd04820
commit
adbd961d82
|
|
@ -41,7 +41,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
}
|
||||
);
|
||||
|
||||
my $op = $cgi->param('op');
|
||||
my $op = $cgi->param('op') || '';
|
||||
my $id = $cgi->param('id');
|
||||
my $name = $cgi->param('name');
|
||||
my $domain = $cgi->param('domain');
|
||||
|
|
|
|||
Loading…
Reference in New Issue