Closed (fixed)
Project:
Internationalization
Version:
7.x-1.0-alpha2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2011 at 15:31 UTC
Updated:
9 Mar 2011 at 09:01 UTC
The node_access_alter function is doing :
$query->leftjoin('node', 'i18n', 'n.tnid > 0 AND n.tnid = i18n.tnid AND i18n.language = :lang', array(':lang' => $language));
line 54 in the selected alpha2 release.
Obviously the table alias for node table is not n but node and that is why $table_alias should be use instead just as on the next line.
Comments
Comment #1
jose reyero commentedTrue. Fixed on github, will be in next version.
Thanks.