qualify warn; sort_by is not a required search parameter
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
6a2a4e146e
commit
14dd58e577
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ sub getRecords {
|
|||
$sort_by .= "1=4 >i ";
|
||||
}
|
||||
else {
|
||||
warn "Ignoring unrecognized sort '$sort' requested";
|
||||
warn "Ignoring unrecognized sort '$sort' requested" if $sort_by;
|
||||
}
|
||||
}
|
||||
if ($sort_by) {
|
||||
|
|
Loading…
Reference in a new issue