X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/f8724fe08645a098f82faadf569c608f0e753ced..1209440ef94cb8b357936a78c56b9872d4fb5ae5:/lib/MECON/HTML/Link.php diff --git a/lib/MECON/HTML/Link.php b/lib/MECON/HTML/Link.php index faadfc7..b1835c1 100644 --- a/lib/MECON/HTML/Link.php +++ b/lib/MECON/HTML/Link.php @@ -170,18 +170,14 @@ class MECON_HTML_Link extends HTML_Common { * Set a GET variable. * * @param string $key Key for the GET variable. - * @param mixed &$value Value for the variable. + * @param mixed $value Value for the variable. * * @return void * @access public */ - function setGetVar($key, &$value) // ~X2C + function setGetVar($key, $value) // ~X2C { - if (is_object($value)) { - $this->attrs[$key] =& $value; - } else { - $this->attrs[$key] = $value; - } + $this->_getVars[$key] = $value; } // -X2C