[Vtigercrm-commits] [vtiger-commits] r7593 - /vtigercrm/trunk/include/utils/ListViewUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 28 02:41:57 EDT 2006


Author: mmbrich
Date: Wed Jun 28 00:41:56 2006
New Revision: 7593

Log:
fixes #1377


Modified:
    vtigercrm/trunk/include/utils/ListViewUtils.php

Modified: vtigercrm/trunk/include/utils/ListViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/ListViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/ListViewUtils.php Wed Jun 28 00:41:56 2006
@@ -368,7 +368,7 @@
 	{
 		$end = $noofrows;
 	}
-	$paging = ceil ($noofrows / $limit);
+	if($paging != 0) {$paging = ceil ($noofrows / $limit);}
 	// Display the navigation
 	if ($display > 1) {
 		$previous = $display - 1;





More information about the vtigercrm-commits mailing list