Closed (fixed)
Project:
Translation Access
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2009 at 16:24 UTC
Updated:
31 Dec 2009 at 00:07 UTC
I will let the patch speak for itself first. The return statement in i18n_access_node_access()
return (boolean)$perms[$node->language];
has to be changed into
return (boolean)$perms[($node->language ? $node->language : I18N_ACCESS_LANGUAGE_NEUTRAL)];
In case a node is language neutral, i.e. $node->language is an empty string, the NEUTRAL value should be used.
| Comment | File | Size | Author |
|---|---|---|---|
| i18n_access_neutral.patch | 595 bytes | toemaz |
Comments
Comment #1
zroger commentedThanks, fixed in 1.0-dev.
Comment #3
toemaz commented@Roger
Can you make the dev release available or issue a 1.0 release for this module, which includes a fix for this issue? People are posting duplicate issues #658348: access neutral language not working