Tagged: vehicles

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2730

    Hi Morgan,

    Our team is investigating this issue and will update this post with an answer asap

    Regards
    ___
    BePro Software Team

    #2741
    morgan
    Participant

    Figured it out today, the problem lies in the PHP empty() function evaluating 0 as false.

    Every time the post data contained an argument of 0, update_vehicle_listing() would view it as empty and save the empty string into the database rather than the 0. Made a few modifications to use!isset()instead ofempty() and everything seems to be working correctly.

    #2764

    Hi,

    Thanks for sharing the fix. We will implement it into the next release of the addon

    Regards
    ___
    BePro Software Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.