* 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