[pLog-svn] r6446 - plog/branches/lifetype-1.2/class/dao

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu May 8 11:53:00 EDT 2008


Author: jondaley
Date: 2008-05-08 11:53:00 -0400 (Thu, 08 May 2008)
New Revision: 6446

Modified:
   plog/branches/lifetype-1.2/class/dao/model.class.php
Log:
just a debugging output change.  I have gotten some strange error messages in my sql.log, and these quotes will help to clear up some confusion I think

Modified: plog/branches/lifetype-1.2/class/dao/model.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/model.class.php	2008-05-08 15:27:45 UTC (rev 6445)
+++ plog/branches/lifetype-1.2/class/dao/model.class.php	2008-05-08 15:53:00 UTC (rev 6446)
@@ -137,9 +137,9 @@
                 $log =& LoggerManager::getLogger( "sqlerr" );
                 $error = $this->DbError();
                 $log->error( "The following query = \n" .
-                              $query .
+                             "\"$query\"" .
                              "\ngenerated the following error message = \n" .
-                              $error );
+                             "\"$error\"" );
             }
                 
             return( $result );



More information about the pLog-svn mailing list