qualify warn; sort_by is not a required search parameter

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Galen Charlton 2009-04-08 15:13:12 -05:00
parent 6a2a4e146e
commit 14dd58e577

View file

@ -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) {