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 commit88ab0ef579) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commitadbd961d82) Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
parent
9db0e7eca8
commit
4083e2369f
|
|
@ -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