[pLog-svn] r5052 - plog/branches/lifetype-1.2

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Mar 11 18:14:31 EDT 2007


Author: oscar
Date: 2007-03-11 18:14:30 -0400 (Sun, 11 Mar 2007)
New Revision: 5052

Modified:
   plog/branches/lifetype-1.2/wizard.php
Log:
Fixed issue reported in http://forums.lifetype.net/viewtopic.php?p=33712#33712

Modified: plog/branches/lifetype-1.2/wizard.php
===================================================================
--- plog/branches/lifetype-1.2/wizard.php	2007-03-11 22:10:27 UTC (rev 5051)
+++ plog/branches/lifetype-1.2/wizard.php	2007-03-11 22:14:30 UTC (rev 5052)
@@ -1122,7 +1122,8 @@
             $userId = $users->addUser( $user );
             if( !$userId ) {
                 $this->_view = new WizardView( "step3" );
-                $message = "There was an error adding the user. Make sure that the user does not already exist in the database (".$users->DbError().")";
+				$db =& Db::getDb();
+                $message = "There was an error adding the user. Make sure that the user does not already exist in the database (".$db->DbError().")";
                 $this->_view->setErrorMessage( $message );
                 $this->setCommonData();
                 return false;



More information about the pLog-svn mailing list