• Resolved martinfabl

    (@martinfabl)


    When submiting a none numerical postcode value returned is always ‘0’

    from looking at gift-voucher-pro.php it appears on line 184 that the column is created as an integer field.

    postcode int(10) NOT NULL,

    Should this not be a text field?

Viewing 1 replies (of 1 total)
  • Plugin Author Codemenschen

    (@codemenschen)

    Hello @martinfabl,

    Thanks for your feedback.

    Yes, postcode is a number field right now and also set as not null. So always if user don’t enter postcode the value automatically add as 0.

    You are right that we should change the postcode as text field. We will update this field as text field in our next update.

    [ Signature deleted ]

    • This reply was modified 5 years, 2 months ago by Jan Dembowski.
Viewing 1 replies (of 1 total)
  • The topic ‘Postcode is always ‘0’’ is closed to new replies.