Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.0.4

Bug #11881 Translation2::getLang(...,'array') returns ID as 'id' instead of 'lang_id'
Submitted: 2007-08-21 08:11 UTC
From: clue Assigned: quipo
Status: Closed Package: Translation2 (version 2.0.0RC1)
PHP Version: 5.2.3 OS: Debian GNU/Linux
Roadmaps: (Not assigned)    
Subscription  


 [2007-08-21 08:11 UTC] clue (Christian Lück)
Description: ------------ Translation2::getLang(...) with the format parameter 'array' is the only method which returns the language ID in the array key 'id' instead of the usual 'lang_id' used in all Translation2_Admin methods. This is particularly confusing because it's an odd and undocumented behavior.

Comments

 [2007-09-19 21:42 UTC] quipo (Lorenzo Alberton)
I've added a 'lang_id' alias to 'id'.