form : type in checked

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3107 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2016-09-30 14:35:49 +00:00
parent 2a7341832a
commit 092a15a0b2

View File

@@ -483,7 +483,7 @@ class formfield
$this->values[$key] !== false && $this->values[$key] !== false &&
$this->values[$key] !== "unset" && $this->values[$key] !== "unset" &&
$this->values[$key] !== "") $this->values[$key] !== "")
$res .= " Checked='checked'"; $res .= " checked='checked'";
} }
elseif (isset ($this->defaults[$key])) elseif (isset ($this->defaults[$key]))
{ {
@@ -491,7 +491,7 @@ class formfield
$this->defaults[$key] !== false && $this->defaults[$key] !== false &&
$this->defaults[$key] !== "unset" && $this->defaults[$key] !== "unset" &&
$this->defaults[$key] !== "") $this->defaults[$key] !== "")
$res .= " cheked='checked'"; $res .= " checked='checked'";
} }
} }
if (isset ($this->hidden) && $this->hidden !== FALSE) if (isset ($this->hidden) && $this->hidden !== FALSE)