[Vtigercrm-commits] [vtiger-commits] r9570 - /vtigercrm/branches/5.0.1/modules/Potentials/Charts.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Oct 5 10:47:04 EDT 2006


Author: richie
Date: Thu Oct  5 08:47:00 2006
New Revision: 9570

Log:
hardcoded language code removed

Modified:
    vtigercrm/branches/5.0.1/modules/Potentials/Charts.php

Modified: vtigercrm/branches/5.0.1/modules/Potentials/Charts.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Potentials/Charts.php (original)
+++ vtigercrm/branches/5.0.1/modules/Potentials/Charts.php Thu Oct  5 08:47:00 2006
@@ -1124,7 +1124,7 @@
 			$imagemap = $canvas->getImageMap();
 			$graph =& Image_Graph::factory('graph', $canvas);
 	
-			$font =& $graph->addNew('font', calculate_font_name('en_en'));
+			$font =& $graph->addNew('font', calculate_font_name($lang_crm));
 			// set the font size to 11 pixels
 			$font->setSize(8);
 			$font->setColor($font_color);





More information about the vtigercrm-commits mailing list