PHP-MySQL-Class icon indicating copy to clipboard operation
PHP-MySQL-Class copied to clipboard

wrong use of settype()

Open larsbo opened this issue 11 years ago • 2 comments

in the current commit the settype() function was misleadingly used in the CleanData() function. The result of settype() is not the manipulated data but a boolean result code. This results in empty inserts in many cases.

larsbo avatar Apr 19 '14 18:04 larsbo

yeah, sorry - my fault :( copy'n'paste from my own code where i have an error-var. thx for this correction.

Gummibeer avatar Apr 20 '14 08:04 Gummibeer

Pull request to fix this bug has been submitted

4thguy avatar Dec 04 '14 13:12 4thguy