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

mark at devel.lifetype.net mark at devel.lifetype.net
Wed Mar 21 12:42:56 EDT 2007


Author: mark
Date: 2007-03-21 12:42:56 -0400 (Wed, 21 Mar 2007)
New Revision: 5146

Modified:
   plog/branches/lifetype-1.2/wizard.php
Log:
Forget commit this file in last commit.

There is no DbError() in PDO mysql driver. Only ErrorMsg() available.

Modified: plog/branches/lifetype-1.2/wizard.php
===================================================================
--- plog/branches/lifetype-1.2/wizard.php	2007-03-21 16:41:49 UTC (rev 5145)
+++ plog/branches/lifetype-1.2/wizard.php	2007-03-21 16:42:56 UTC (rev 5146)
@@ -1123,7 +1123,7 @@
             if( !$userId ) {
                 $this->_view = new WizardView( "step3" );
 				$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().")";
+                $message = "There was an error adding the user. Make sure that the user does not already exist in the database (".$db->ErrorMsg().")";
                 $this->_view->setErrorMessage( $message );
                 $this->setCommonData();
                 return false;
@@ -1930,8 +1930,8 @@
                 // transformer id
                 $this->_view->setValue( "transformerId", $this->currentTransformerId );            
                 $this->_view->setValue( "error", true );
-                if( $transformer->DbError() != "" ) {
-                    $message .= "<br/>The database error message was: ".$transformer->DbError()."<br/>";
+                if( $transformer->ErrorMsg() != "" ) {
+                    $message .= "<br/>The database error message was: ".$transformer->ErrorMsg()."<br/>";
                 }
 
                 $this->_view->setErrorMessage( $message );



More information about the pLog-svn mailing list