06-09-2014, 03:55 PM
I had a look at the code and you are absoluetly correct, the code is wrong. The issue is that mysql must be configured with strict restrictions to give the error. By default, mysql will "understand" that the empty string is supposed to be a zero and do the insert quietly.
I have fixed the issue. Thanks <!-- s --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="" title="Smile" /><!-- s -->
I have fixed the issue. Thanks <!-- s --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="" title="Smile" /><!-- s -->
Joe
TSolucio
TSolucio