Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 2010)
+++ branches/2.8.x/CHANGELOG	(revision 2011)
@@ -11,6 +11,10 @@
 ! = Update/Change
 ===============================================================================
 
+03 Nov-2013 Build 2011 Manuela v.d.Decken(DarkViper)
+! WbDatabase added method fetchObject()
+! WbAdaptor little typofixes
+! /index.php  added one more update of WbAdaptor
 03 Nov-2013 Build 2010 Manuela v.d.Decken(DarkViper)
 ! WbAutoloader added possibility to load classes with additional file prefix 'class.'
 27 Nov-2013 Build 2009 Manuela v.d.Decken(DarkViper)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 2010)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 2011)
@@ -51,5 +51,5 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.3');
-if(!defined('REVISION')) define('REVISION', '2010');
+if(!defined('REVISION')) define('REVISION', '2011');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/framework/WbDatabase.php
===================================================================
--- branches/2.8.x/wb/framework/WbDatabase.php	(revision 2010)
+++ branches/2.8.x/wb/framework/WbDatabase.php	(revision 2011)
@@ -615,7 +615,7 @@
 class mysql {
 
 	private $result = null;
-	private $_db_handle = null;
+	private $oDbHandle = null;
 
 /**
  * query sql statement
@@ -666,7 +666,11 @@
  */
 	function fetchObject($sClassName = null, array $aParams = null)
 	{
-		return mysql_fetch_object($this->result, $sClassName, $aParams);
+		if ($sClassName === null || class_exists($sClassName)) {
+			return mysql_fetch_object($this->result, $sClassName, $aParams);
+		} else {
+			throw new WbDatabaseException('Class <'.$sClassName.'> not available on request of mysql_fetch_object()');
+		}
 	}
 /**
  * rewind
Index: branches/2.8.x/wb/framework/WbAdaptor.php
===================================================================
--- branches/2.8.x/wb/framework/WbAdaptor.php	(revision 2010)
+++ branches/2.8.x/wb/framework/WbAdaptor.php	(revision 2011)
@@ -35,9 +35,9 @@
 class WbAdaptor {
 
 /** active instance */	
-	private static $_oInstance = null;
+	protected static $_oInstance = null;
 /** array hold settings */	
-	private $_aSys = array();
+	protected $_aSys = array();
 /** constructor */
 	protected function __construct() 
 	{
Index: branches/2.8.x/wb/index.php
===================================================================
--- branches/2.8.x/wb/index.php	(revision 2010)
+++ branches/2.8.x/wb/index.php	(revision 2011)
@@ -24,7 +24,6 @@
 {
 	require_once($config_file);
 }
-
 // Check if the config file has been set-up
 if(!defined('TABLE_PREFIX'))
 {
@@ -66,7 +65,8 @@
 // Load functions available to templates, modules and code sections
 // also, set some aliases for backward compatibility
 require(WB_PATH.'/framework/frontend.functions.php');
-
+// reload all of the already defined global constants
+WbAdaptor::getInstance()->getWbConstants();
 // redirect menu-link
 /**
  *
