pluginsGLPI / customfields

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

(minor) "Budgets" appears twice on the config page #36

Closed Shuffle777 closed 10 years ago

Shuffle777 commented 10 years ago

From "front/config.form.php" (top bar > Plugins > Custom Fields), the last entry ("Budgets") appears twice.

dethegeek commented 10 years ago

It seems some coded involved in install and/or upgrade process is running twice. Can you tell if you installed the plugin for the first time or you upgraded it from an older version ?

dethegeek commented 10 years ago

Fixed.

As a workaround, please backup your database, use your favourite database editor (phpMyAdmin or something similar) and execute the following query

DELETE FROM glpi_plugin_customfields_itemtypes WHERE itemtype="Budget" order by id desc limit 1

This will remove the duplicate Budget entry.