Check null on ugly sql sort.

This commit is contained in:
Olof Larsson committed 2011-12-13 00:30:03 +01:00
1 parent b49494d559
commit 5080d60a5c
1 file changed
+4 -1
@@ -142,7 +142,10 @@ public class Persist
}
// ORDERBY
Collections.sort(ret, orderby);
if (orderby != null)
{
Collections.sort(ret, orderby);
}
// LIMIT AND OFFSET
// Parse args