--- GenericDb.php.old	2008-07-21 11:05:33.000000000 +0100
+++ GenericDb.php	2008-07-21 11:05:44.000000000 +0100
@@ -41,7 +41,7 @@
 	public function __construct(&$dsn, $options = array())
 	{
 		if (is_object($dsn)) {
-			if ($dsn instanceof MDB2) {
+			if ($dsn instanceof MDB2 || $dsn instanceof MDB2_Driver_Common) {
 				$this->_db = &$dsn;
 			} else {
 				throw new Exception('PHPOF2_Audit_GenericDb was passed an object which was not an MDB2 object in the "dsn" parameter');
