Menu

#18 Problem with update, if ID is 0

open
nobody
None
5
2004-02-15
2004-02-15
No

PHP ver: 4.3.3
AdoDB ver.:0.9.0
DBForm ver: 4.11

In dbform.inc, Line 2607, the statement ( if (!empty
($httpvars[$searchField])) ) is not working, if the
value of searchField is 0. It will don't update the
corresponding record. After correcting it ( if (!empty
($httpvars[$searchField]) || $httpvars[$searchField]
==0) ) it works fine.,

Discussion


Log in to post a comment.

Monday.com Logo