Hotfix for foreign keys in profile_address edition (Closes #1228)
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Sun, 5 Sep 2010 23:02:12 +0000 (01:02 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Sun, 5 Sep 2010 23:09:51 +0000 (01:09 +0200)
commit8d1e0ab3b5d56783bb136e52a94e86440ad9b1b1
tree8a4e97778b1643f17b5e1312dc5c8612c352aab8
parent17aea87e444d1616b756800dfa32e2a3fda35c25
Hotfix for foreign keys in profile_address edition (Closes #1228)

Some foreign_key-referenced fields where empty (''), which meant
inserting '' into the DB instead of NULL.

There might be other similar issues with other foreign keys.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
modules/profile/addresses.inc.php