Closed (fixed)
Project:
Kiva
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Mar 2009 at 19:18 UTC
Updated:
11 Apr 2009 at 03:00 UTC
Whenever I check the Random Loans box I get an error like the following:
Fatal error: Cannot use object of type stdClass as array in /home/www/example.com/htdocs/sites/all/modules/kiva/kiva.module on line 134
It looks like if I change line 90 to:
$loans[] = $json->loans[$key];
from:
$loans = $json->loans[$key];
it will build the array and the error message goes away.
Comments
Comment #1
crookednumber commentedThx. I'm getting the error as well.
Comment #2
crookednumber commentedFixed in DRUPAL-6--1. You were right, quickcel.
http://drupal.org/cvs?commit=189660