pluginsGLPI / customfields

customfields plugin for GLPI
GNU General Public License v2.0
13 stars 4 forks source link

v1.7 : error in dropdown translations #61

Closed dethegeek closed 9 years ago

dethegeek commented 9 years ago

v1.7 (GLPI 0.85)

Add a translation to a dropdown (statuses, computer types, ...) When i choose the language, I get an error on screen : PHP Warning: in_array() expects parameter 2 to b arry, null given in /var/www/glpi085/plugins/customfields/hook.php at line 100

and the same error (with more details) in php-errors.log.

If I desactivate the plugin CF, I no longer get errors.

( redmine : https://forge.glpi-project.org/issues/5431 )