Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add array check in ischecked and isselected snippets #90

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Add array check in ischecked and isselected snippets #90

wants to merge 2 commits into from

Commits on May 1, 2014

  1. Check if input is an array

    In some cases the $input value (after fromJSON conversion) is not an array, in which case the logs can fill php notices/errors. Added this simple check to avoid that.
    Jim Graham committed May 1, 2014
    Configuration menu
    Copy the full SHA
    2085b36 View commit details
    Browse the repository at this point in the history
  2. Check if input is an array

    In some cases the $input value (after fromJSON conversion) is not an array, in which case the logs can fill up with php notices/errors (especially when a form has several selects/options). Added this simple check to avoid that.
    Jim Graham committed May 1, 2014
    Configuration menu
    Copy the full SHA
    978748e View commit details
    Browse the repository at this point in the history