Active
Project:
References Manager
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2012 at 22:05 UTC
Updated:
14 Jun 2012 at 00:17 UTC
I found that the variable $entity->language results to the language code 'de' for a piece of node content on a German single language website. When this value is being used as an index for an array in several lines of code - e.g. "empty($entity->{$field_name}[$entity->language])" in the file "references_manager.pages.inc" - the program breaks, because the array item would need the index value "und" (=undefined). I've not further investigated, but this would have to be solved in at least 3 places to get the programm running on such a foreign website.
Comments
Comment #1
damienmckennaThanks for finding that, I didn't realize that using a single system-wide language would cause that conflict.