[Vtigercrm-commits] [vtiger-commits] r10821 - /vtigercrm/branches/5.0.3/include/utils/CommonUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 30 09:04:09 EDT 2007


Author: richie
Date: Mon Apr 30 07:04:05 2007
New Revision: 10821

Log:
* changed the log information

Modified:
    vtigercrm/branches/5.0.3/include/utils/CommonUtils.php

Modified: vtigercrm/branches/5.0.3/include/utils/CommonUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/CommonUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/CommonUtils.php Mon Apr 30 07:04:05 2007
@@ -2667,9 +2667,9 @@
 function getTranslatedString($str)
 {
 	global $app_strings, $mod_strings, $log;
-	$str = ($app_strings[$str] != '')?$app_strings[$str]:(($mod_strings[$str] != '')?$mod_strings[$str]:$str);
-	$log->debug("function getTranslatedString($str) - translated to ($str)");
-	return $str;
+	$trans_str = ($app_strings[$str] != '')?$app_strings[$str]:(($mod_strings[$str] != '')?$mod_strings[$str]:$str);
+	$log->debug("function getTranslatedString($str) - translated to ($trans_str)");
+	return $trans_str;
 }
 
 /**	function used to get the list of importable fields





More information about the vtigercrm-commits mailing list