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:
Aleisha Amohia 2017-07-13 05:16:53 +00:00 committed by Jonathan Druart
parent 7ed66a6c8a
commit 88ab0ef579
1 changed files with 1 additions and 1 deletions

View File

@ -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');