Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-7140

count(): Parameter must be countable

    XMLWordPrintable

Details

    Description

      Line 2859 of the file questionnaire.class.php is counting a boolean value:
      if (count(array_intersect($choicetypes, $uniquetypes) > 0 )) {

      Better to move the bracket to have something countable
      if (count(array_intersect($choicetypes, $uniquetypes)) > 0) {

      Attachments

        Activity

          People

            mchurch Mike Churchward
            rdebleu Renaat Debleu
            Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Sep/17