From 5a1aefd7d89c7f62d911577a34f22df1b1f615d6 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Sun, 28 Feb 2010 17:38:26 +0000 Subject: [PATCH] per http://lt.php.net/ArrayAccess, offsetSet and offsetUnset ar both void and shouldn't be returning data --- includes/FormOptions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } } -- 2.20.1