From: Domas Mituzas Date: Sun, 28 Feb 2010 17:38:26 +0000 (+0000) Subject: per http://lt.php.net/ArrayAccess, offsetSet and offsetUnset ar both void and shouldn... X-Git-Tag: 1.31.0-rc.0~37580 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=5a1aefd7d89c7f62d911577a34f22df1b1f615d6;p=lhc%2Fweb%2Fwiklou.git per lt.php.net/ArrayAccess, offsetSet and offsetUnset ar both void and shouldn't be returning data --- diff --git a/includes/FormOptions.php b/includes/FormOptions.php index 262c8c7fb5..5cb9be6119 100644 --- a/includes/FormOptions.php +++ b/includes/FormOptions.php @@ -192,11 +192,11 @@ class FormOptions implements ArrayAccess { } public function offsetSet( $name, $value ) { - return $this->setValue( $name, $value ); + $this->setValue( $name, $value ); } public function offsetUnset( $name ) { - return $this->delete( $name ); + $this->delete( $name ); } }