storage: enum values are not fetched the same way as they are inserted.
storage: enum values are not fetched the same way as they are
inserted.

When reading values from an enum in the DB, the value reflects the
value of the enum not the index of the enum. Whereas when insert or
updated, index should be used. This refs #2537.

git-svn-id: a49aa41e49c69a6ab6ef43f172843a2fef6cb475@1271 7c7d615a-03b3-410d-a316-1135b1bd9499

centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker