X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/07f440b2dcf98c6aac6e0dc7f12ae252bad9c5f8..fe7e792266c5fe68f6e2cc70898eb45ef8e8424d:/lib/MECON/HTML/Link.php?ds=sidebyside diff --git a/lib/MECON/HTML/Link.php b/lib/MECON/HTML/Link.php index 4d97b34..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->_getVars[$key] =& $value; - } else { - $this->_getVars[$key] = $value; - } + $this->_getVars[$key] = $value; } // -X2C