[pLog-svn] r5248 - plog/branches/lifetype-1.2/class/database

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sat Mar 31 11:51:16 EDT 2007


Author: oscar
Date: 2007-03-31 11:51:15 -0400 (Sat, 31 Mar 2007)
New Revision: 5248

Modified:
   plog/branches/lifetype-1.2/class/database/db.class.php
Log:
Fixed a php notice.

Modified: plog/branches/lifetype-1.2/class/database/db.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/database/db.class.php	2007-03-31 15:47:08 UTC (rev 5247)
+++ plog/branches/lifetype-1.2/class/database/db.class.php	2007-03-31 15:51:15 UTC (rev 5248)
@@ -117,9 +117,11 @@
             		throw( new Exception( "getNewDb: Fatal error: could not connect to the database!" ));
                 	die();
             	}
-			}		
+			}	
 			
-			return( $dbs[$key] );				
+			$conn = $dbs[$key];	
+			
+			return( $conn );				
 		}
 
 		/**



More information about the pLog-svn mailing list