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
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.