diff options
Diffstat (limited to 'frontends/php/include/classes/cvar.inc.php')
-rw-r--r-- | frontends/php/include/classes/cvar.inc.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/include/classes/cvar.inc.php b/frontends/php/include/classes/cvar.inc.php index fc823ce8..52dd4f8f 100644 --- a/frontends/php/include/classes/cvar.inc.php +++ b/frontends/php/include/classes/cvar.inc.php @@ -24,14 +24,14 @@ /* public */ function CVar($name="",$value="0") { - parent::CTag("input","no"); - $this->AddOption("type","hidden"); - $this->SetName($name); - $this->SetValue($value); + parent::CTag('input','no'); + $this->options['type'] = 'hidden'; + $this->options['name'] = $name; + $this->options['value'] = $value; } function SetValue($value) { - return $this->AddOption("value",$value); + $this->options['value'] = $value; } } ?> |