Changed declartion from:
my $op = $input->param('op');
to
my $op = $input->param('op') || q{};
in order to give an empty string default preventing error
logs from filling needlessly.
Signed-off-by: Marc Veron <veron@veron.ch>
The patch removes warnings like:
Use of uninitialized value $op in string eq at...
However there is one more warning, but it is not related to $op (addressed by this patch):
smart-rules.pl: Use of uninitialized value in string ne at .../admin/smart-rules.pl line 388.
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
|
||
|---|---|---|
| .. | ||
| searchengine/solr | ||
| admin-home.pl | ||
| aqbudget_user_search.pl | ||
| aqbudgetperiods.pl | ||
| aqbudgets.pl | ||
| aqcontract.pl | ||
| aqplan.pl | ||
| auth_subfields_structure.pl | ||
| auth_tag_structure.pl | ||
| authorised_values.pl | ||
| authtypes.pl | ||
| biblio_framework.pl | ||
| branch_transfer_limits.pl | ||
| branches.pl | ||
| categorie.pl | ||
| check_budget_parent.pl | ||
| check_parent_total.pl | ||
| checkmarc.pl | ||
| cities.pl | ||
| classsources.pl | ||
| clone-rules.pl | ||
| currency.pl | ||
| didyoumean.pl | ||
| env_tz_test.pl | ||
| fieldmapping.pl | ||
| import_export_framework.pl | ||
| item_circulation_alerts.pl | ||
| itemtypes.pl | ||
| koha2marclinks.pl | ||
| marc_subfields_structure.pl | ||
| marctagstructure.pl | ||
| matching-rules.pl | ||
| oai_set_mappings.pl | ||
| oai_sets.pl | ||
| patron-attr-types.pl | ||
| preferences.pl | ||
| printers.pl | ||
| roadtype.pl | ||
| smart-rules.pl | ||
| stopwords.pl | ||
| systempreferences.pl | ||
| transport-cost-matrix.pl | ||
| z3950servers.pl | ||