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>
This commit is contained in:
parent
7ed66a6c8a
commit
88ab0ef579
|
|
@ -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