php - CakePHP ignore blank fields when trying to update the model -


i have registration form fields not required. user fills fields , saves. data saved normally.

however, if update data , leave fields blank, update database record empty values cakephp 1.3 not update in database.

put check empty string , delete empty keys array before saving database


Comments

Popular posts from this blog

html - height not adding height to a empty div -

python - Robot Framework location and name of keyword -

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -