[pLog-svn] r3479 - plog/trunk/class/database

mark at devel.lifetype.net mark at devel.lifetype.net
Sun May 28 14:06:11 GMT 2006


Author: mark
Date: 2006-05-28 14:06:10 +0000 (Sun, 28 May 2006)
New Revision: 3479

Modified:
   plog/trunk/class/database/db.class.php
Log:
Weird, it seems we missed this variable assignment for a long time. Why we did not find this?

Modified: plog/trunk/class/database/db.class.php
===================================================================
--- plog/trunk/class/database/db.class.php	2006-05-28 13:52:39 UTC (rev 3478)
+++ plog/trunk/class/database/db.class.php	2006-05-28 14:06:10 UTC (rev 3479)
@@ -239,6 +239,7 @@
             preg_match( '/^(.)(.*)$/', $orderColumn, $matches );
 
             $queryPart = ' ORDER BY '; 
+            $firstValueCharacter = $matches[1]; 
             switch( $firstValueCharacter ) {
                 case '-':
                     $orderColumn = $matches[2];



More information about the pLog-svn mailing list