Changeset 6723
- Timestamp:
- 10/06/08 10:46:57 (2 months ago)
- Location:
- trunk/centreon/www/include/configuration/configObject
- Files:
-
- 2 modified
-
contact/formContact.php (modified) (1 diff)
-
host/formHost.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/centreon/www/include/configuration/configObject/contact/formContact.php
r6646 r6723 214 214 $form->addElement('select', 'contact_location', _("GMT / Location"), $GMTList); 215 215 $form->setDefaults(array('contact_location' => '0')); 216 if ( isset($cct["contact_location"]))216 if (!isset($cct["contact_location"])) 217 217 $cct["contact_location"] = 0; 218 218 unset($GMTList); -
trunk/centreon/www/include/configuration/configObject/host/formHost.php
r6649 r6723 293 293 $form->addElement('select', 'host_location', _("GMT / Location"), $GMTList); 294 294 $form->setDefaults(array('host_location' => '0')); 295 if ( isset($host["host_location"]))295 if (!isset($host["host_location"])) 296 296 $host["host_location"] = 0; 297 297 unset($GMTList);
