Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2010-12-26 16:50:45 +0000 (Sun, 26 Dec 2010)
short circuit for pagination
--- nagiosvshell/branches/devel/views/hosts.php 2010-12-26 16:50:40 UTC (rev 74)
+++ nagiosvshell/branches/devel/views/hosts.php 2010-12-26 16:50:45 UTC (rev 75)
@@ -83,6 +83,7 @@
//begin looping table results
for($i=$start; $i<=($start+$limit); $i++)
+ if ($i >= $resultsCount) break;
if(!isset($hosts[$hostnames[$i]])) continue; //skip undefined indexes of hosts array
$host = $hosts[$hostnames[$i]];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Sign up for the SourceForge newsletter: