Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-12718

in_array() expects parameter 2 to be array in IDS.php

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.3
    • Fix Version/s: 4.3.4
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      See: http://forum.civicrm.org/index.php?topic=28919.new;topicseen#new
      Warning: in_array() expects parameter 2 to be array, string given in CRM_Core_IDS->kick() (line 258 ofdrupal/sites/all/modules/civicrm/CRM/Core/IDS.php)
      It looks like line 258: if ($path == in_array("civicrm/ajax/rest", "civicrm/api/json"))
      is not correct syntax.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              sonicthoughts shawn holt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: