Index: branches/Ver3.0/xpressme_integration_kit/class/xpressD3commentContent.class.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/class/xpressD3commentContent.class.php	(revision 749)
+++ branches/Ver3.0/xpressme_integration_kit/class/xpressD3commentContent.class.php	(revision 757)
@@ -44,7 +44,7 @@
 		function displayCommentsInline( $params )
 		{
-			global $xoops_config;
+			global $modInfo;
 			if ( function_exists('date_default_timezone_set') )
-				date_default_timezone_set($xoops_config->xoops_time_zone);
+				date_default_timezone_set($modInfo->get_xoops_time_zone());
 			$new_params = $this->restructParams( $params ) ;
 			if (!$this->canAddComment($params['id']) ) {
