---
 C4/Search.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Search.pm b/C4/Search.pm
index 2646bcc..e965682 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -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) {
-- 
1.5.6.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to