From: <var...@us...> - 2021-08-17 16:43:45
|
Revision: 10525 http://sourceforge.net/p/phpwiki/code/10525 Author: vargenau Date: 2021-08-17 16:43:43 +0000 (Tue, 17 Aug 2021) Log Message: ----------- fetchAll cannot have mode PDO::FETCH_NUM Modified Paths: -------------- trunk/lib/WikiDB/backend/PDO.php Modified: trunk/lib/WikiDB/backend/PDO.php =================================================================== --- trunk/lib/WikiDB/backend/PDO.php 2021-08-16 16:32:48 UTC (rev 10524) +++ trunk/lib/WikiDB/backend/PDO.php 2021-08-17 16:43:43 UTC (rev 10525) @@ -235,7 +235,7 @@ . " FROM $nonempty_tbl, $page_tbl" . " WHERE $nonempty_tbl.id=$page_tbl.id" . " LIMIT 1"); - return $sth->fetchAll(PDO::FETCH_NUM); + return $sth->fetchAll(); // which mode?? } /* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |