# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: D:\WAMP\www\projeqtor-Rabs\tool
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: getLeaves.php
--- getLeaves.php Base (BASE)
+++ getLeaves.php Modifié localement (basé sur LOCAL)
@@ -154,11 +154,13 @@
         array_push($resStatus, $status);
     }
 } 
+if (count($resStatus)<0) {
 usort($resStatus, function($a, $b)
     {
         return strcmp($a->sortOrder, $b->sortOrder);
     }
 );
+}
 
 if(! $lvList){
     $res=array(
