[Vtigercrm-commits] [vtiger-commits] r6349 - /vtigercrm/trunk/modules/Faq/ListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 24 06:36:49 EDT 2006


Author: saraj
Date: Wed May 24 04:36:45 2006
New Revision: 6349

Log:
* Moved the smarty object creation at first to avoid the error when display the error message using the smarty object

Modified:
    vtigercrm/trunk/modules/Faq/ListView.php

Modified: vtigercrm/trunk/modules/Faq/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Faq/ListView.php (original)
+++ vtigercrm/trunk/modules/Faq/ListView.php Wed May 24 04:36:45 2006
@@ -41,6 +41,8 @@
 }
 
 $focus = new Faq();
+$smarty = new vtigerCRM_Smarty;
+
 $other_text = Array();
 
 if(!$_SESSION['lvs'][$currentModule])
@@ -132,7 +134,6 @@
 
 
 
-$smarty = new vtigerCRM_Smarty;
 $smarty->assign("MOD", $mod_strings);
 $smarty->assign("APP", $app_strings);
 $smarty->assign("IMAGE_PATH",$image_path);





More information about the vtigercrm-commits mailing list