Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.x-1.10
    • Component/s: Badges
    • Labels:
      None

      Description

      After changing file_get_contents() to drupal_http_request(), the Islandora Badges oaDOI submodule now fails to display a block and throws the following error:

      Warning: json_decode() expects parameter 1 to be string, object given in islandora_oadoi_block_view() (line 61 of /var/www/drupal/sites/all/modules/islandora_badges/modules/islandora_oadoi/islandora_oadoi.module).

      Changing it back works. I'll swap it back and issue a PR, unless there are other suggestions for a better approach.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brandonw Brandon Weigel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: