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

jose reyero’s picture

Status: Active » Fixed

True. Fixed on github, will be in next version.

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.