[Vtigercrm-commits] [vtiger-commits] r10414 - /vtigercrm/branches/5.0.3/modules/Reports/Reports.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 12 11:21:15 EDT 2007


Author: saraj
Date: Mon Mar 12 09:21:09 2007
New Revision: 10414

Log:
Report name not displayed. Fixes #3182

Modified:
    vtigercrm/branches/5.0.3/modules/Reports/Reports.php

Modified: vtigercrm/branches/5.0.3/modules/Reports/Reports.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Reports/Reports.php (original)
+++ vtigercrm/branches/5.0.3/modules/Reports/Reports.php Mon Mar 12 09:21:09 2007
@@ -173,7 +173,7 @@
 					$details = Array();	
 					$details['state'] = $reportfldrow["state"]; 
 					$details['id'] = $reportfldrow["folderid"]; 
-					$details['name'] = $mod_strings[$reportfldrow["foldername"]]; 
+					$details['name'] = ($mod_strings[$reportfldrow["foldername"]] == '' ) ? $reportfldrow["foldername"]:$mod_strings[$reportfldrow["foldername"]]; 
 					$details['description'] = $reportfldrow["description"]; 
 					$details['details'] = $this->sgetRptsforFldr($reportfldrow["folderid"]);
 					$returndata[] = $details;
@@ -186,7 +186,7 @@
 				$details = Array();	
 				$details['state'] = $reportfldrow["state"]; 
 				$details['id'] = $reportfldrow["folderid"]; 
-				$details['name'] = $mod_strings[$reportfldrow["foldername"]]; 
+				$details['name'] = ($mod_strings[$reportfldrow["foldername"]] == '' ) ? $reportfldrow["foldername"]:$mod_strings[$reportfldrow["foldername"]]; 
 				$details['description'] = $reportfldrow["description"]; 
 				$returndata[] = $details;
 			}while($reportfldrow = $adb->fetch_array($result));





More information about the vtigercrm-commits mailing list