[Vtigercrm-commits] [vtiger-commits] r7826 - /vtigercrm/trunk/modules/Home/index.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jul 5 03:07:05 EDT 2006
Author: richie
Date: Wed Jul 5 01:07:01 2006
New Revision: 7826
Log:
check made for empty value of dashboard
Modified:
vtigercrm/trunk/modules/Home/index.php
Modified: vtigercrm/trunk/modules/Home/index.php
==============================================================================
--- vtigercrm/trunk/modules/Home/index.php (original)
+++ vtigercrm/trunk/modules/Home/index.php Wed Jul 5 01:07:01 2006
@@ -140,7 +140,9 @@
if(isPermitted('Dashboard','index') == "yes")
{
require_once('modules/Dashboard/HomepageDB.php');
- $home_values['Dashboard']=getHomepageDB();
+ $dashboard = getHomepageDB();
+ if($dashboard != null)
+ $home_values['Dashboard']=$dashboard;
}
break;
}
More information about the vtigercrm-commits
mailing list