Home » Database » DB » Bug #729
quoteSmart() Notice error (1.6.0RC1)
Details
| Submitted | 2004-02-10 23:01 UTC |
|---|---|
| From | datenpunk at php dot net |
| Status | Bogus |
| Package | DB |
| PHP Version | Irrelevant |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2004-02-10 23:01 UTC] datenpunk at php dot net
Description:
------------
quoteSmart() uses the undefined variable $str for evaluating if it should return 0 or 1.
I think
return $str ? 1 : 0;
should be
return $in ? 1 : 0;
[2004-02-10 23:07 UTC] datenpunk at php dot net
Sorry to comment myself.
Just saw that the whole thing was rewritten in CVS.
1.6.0RC1 version was bundled with 4.3.5RC2.