[Vtigercrm-commits] [vtiger-commits] r7290 - /vtigercrm/trunk/modules/Users/listemailtemplates.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 20 03:06:53 EDT 2006


Author: saraj
Date: Tue Jun 20 01:06:50 2006
New Revision: 7290

Log:
updated listemailtemplate.php

Modified:
    vtigercrm/trunk/modules/Users/listemailtemplates.php

Modified: vtigercrm/trunk/modules/Users/listemailtemplates.php
==============================================================================
--- vtigercrm/trunk/modules/Users/listemailtemplates.php (original)
+++ vtigercrm/trunk/modules/Users/listemailtemplates.php Tue Jun 20 01:06:50 2006
@@ -42,8 +42,11 @@
 $smarty->assign("MOD", $smod_strings);
 $smarty->assign("MODULE", 'Settings');
 $smarty->assign("IMAGE_PATH", $image_path);
+$smarty->assign("PARENTTAB", $_REQUEST['parenttab']);
 
 $return_data=array();
+if ($temprow != null)
+{
 do
 {
   $templatearray=array();
@@ -54,6 +57,7 @@
   $return_data[]=$templatearray;
   $cnt++;
 }while($temprow = $adb->fetch_array($result));
+}
 
 $log->info("Exiting Email Templates List View");
 





More information about the vtigercrm-commits mailing list