';
print "\n";
-// Show all lines in taskarray (recursive function to go down on tree)
-$j=0; $level=0;
-$nboftaskshown=projectLinesa($j, 0, $tasksarray, $level, true, 1, $tasksrole, $projectsListId, 0);
+if (count($tasksarray) > 1000)
+{
+ print '
';
+}
+else
+{
+ // Show all lines in taskarray (recursive function to go down on tree)
+ $j=0; $level=0;
+ $nboftaskshown=projectLinesa($j, 0, $tasksarray, $level, true, 1, $tasksrole, $projectsListId, 0);
+}
+
print "";
print '';