diff --git a/plugins/admin/systems/class_terminalService.inc b/plugins/admin/systems/class_terminalService.inc
index bd3ee4652e7e298531bdd814ef213d9868a208d3..305c732248b287b472f48e8f32c2548339779504 100644 (file)
$this->hardware_list["automatic"]= _("automatic");
ksort($this->hardware_list);
+ /* Convert gotoLpdEnable */
+ $this->gotoLpdEnable= preg_match("/yes/",$this->gotoLpdEnable);
/* Load hardware list */
$ldap= $this->config->get_ldap_link();
/* Save to LDAP */
function save()
{
+ /* Convert to string */
+ $this->gotoLpdEnable= $this->gotoLpdEnable?"Yes":"No";
+
plugin::save();
/* Strip out 'default' values */