SF.net SVN: phpwiki:[10951] trunk/lib/WikiDB/backend/PDO_oci8.php

vargenau--- via phpwiki-checkins <[email protected]> Thu, 27 Jan 2022 14:41:25 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10951
          http://sourceforge.net/p/phpwiki/code/10951
Author:   vargenau
Date:     2022-01-27 14:41:25 +0000 (Thu, 27 Jan 2022)
Log Message:
-----------
PDO::PARAM_FLOAT does not exist

Modified Paths:
--------------
    trunk/lib/WikiDB/backend/PDO_oci8.php

Modified: trunk/lib/WikiDB/backend/PDO_oci8.php
===================================================================
--- trunk/lib/WikiDB/backend/PDO_oci8.php	2022-01-27 14:41:03 UTC (rev 10950)
+++ trunk/lib/WikiDB/backend/PDO_oci8.php	2022-01-27 14:41:25 UTC (rev 10951)
@@ -88,7 +88,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_FLOAT);
+        $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.