From: <var...@us...> - 2022-01-27 14:41:04
|
Revision: 10950 http://sourceforge.net/p/phpwiki/code/10950 Author: vargenau Date: 2022-01-27 14:41:03 +0000 (Thu, 27 Jan 2022) Log Message: ----------- Add size for PDO::PARAM_STR Modified Paths: -------------- trunk/lib/WikiDB/backend/PDO.php Modified: trunk/lib/WikiDB/backend/PDO.php =================================================================== --- trunk/lib/WikiDB/backend/PDO.php 2022-01-27 13:58:39 UTC (rev 10949) +++ trunk/lib/WikiDB/backend/PDO.php 2022-01-27 14:41:03 UTC (rev 10950) @@ -1348,7 +1348,7 @@ $sth->bindParam(11, $entry->size, PDO::PARAM_INT); $sth->bindParam(12, $entry->referer, PDO::PARAM_STR, 255); $sth->bindParam(13, $entry->user_agent, PDO::PARAM_STR, 255); - $sth->bindParam(14, $entry->duration, PDO::PARAM_STR); + $sth->bindParam(14, $entry->duration, PDO::PARAM_STR, 20); $sth->execute(); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |