Index: common_functions.js =================================================================== --- common_functions.js (revisão 2658) +++ common_functions.js (cópia de trabalho) @@ -84,6 +84,8 @@ // Translate words and phrases using user language from eGroupware. function get_lang(_key) { + if (typeof(_key) == 'undefined') + return false; var key = _key.toLowerCase(); if(array_lang[key]) var _value = array_lang[key];