dapphp / securimage

PHP CAPTCHA Script
https://github.com/dapphp/securimage
BSD 2-Clause "Simplified" License
568 stars 190 forks source link

Typo in PDO::purgeOldCodesFromDatabase() in master #100

Closed Gribnif closed 4 years ago

Gribnif commented 4 years ago

There is a namespace problem in purgeOldCodesFromDatabase(), in that it refers to PDO::PARAM_INT on line 448. This should be \PDO::PARAM_INT instead, so that the built-in PHP PDO class gets used.

Maescool commented 4 years ago

Fixed in #96

dapphp commented 4 years ago

Maescool fixed in #96 - thanks!