Fix for parsing error in PHP 5.2 and 5.3
diff --git a/tests/codeigniter/libraries/Form_validation_test.php b/tests/codeigniter/libraries/Form_validation_test.php
index 9ab16a0..a25dcf7 100644
--- a/tests/codeigniter/libraries/Form_validation_test.php
+++ b/tests/codeigniter/libraries/Form_validation_test.php
@@ -346,7 +346,8 @@
 		$this->form_validation->set_rules('foo', 'label', 'required');
 		$_POST = array('foo' => '');
 		$this->form_validation->run();
-		$this->assertEquals($error_message, $this->form_validation->error_array()['foo']);
+		$err_arr = $this->form_validation->error_array();
+		$this->assertEquals($error_message, $err_arr['foo']);
 	}
 
 	public function test_error_string()