Revision: 11194
http://sourceforge.net/p/phpwiki/code/11194
Author: vargenau
Date: 2025-05-05 17:32:16 +0000 (Mon, 05 May 2025)
Log Message:
-----------
Fix PDO SQl syntax (patch by Christof Meerwald)
Modified Paths:
--------------
trunk/lib/WikiDB/backend/PDO.php
Modified: trunk/lib/WikiDB/backend/PDO.php
===================================================================
--- trunk/lib/WikiDB/backend/PDO.php 2025-03-17 11:39:04 UTC (rev 11193)
+++ trunk/lib/WikiDB/backend/PDO.php 2025-05-05 17:32:16 UTC (rev 11194)
@@ -1119,7 +1119,7 @@
$dbh = &$this->_dbh;
extract($this->_table_names);
if ($orderby = $this->sortby($sortby, 'db', array('pagename', 'wantedfrom'))) {
- $orderby = 'ORDER BY ' . $orderby;
+ $orderby = ' ORDER BY ' . $orderby;
}
if ($exclude) { // array of pagenames
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|