From afa203e73c2eaf87f66dff1112cacf3d80994096 Mon Sep 17 00:00:00 2001 From: Kamaro Lambert Date: Mon, 30 Nov 2015 23:30:56 +0200 Subject: [PATCH] Fixed error Only variable references should be returned by reference Severity: Notice Message: Only variable references should be returned by reference Filename: core/Common.php Line Number: 257 --- system/core/Common.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/core/Common.php b/system/core/Common.php index 713b21d85..aff7e94e8 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -253,8 +253,8 @@ if ( ! function_exists('get_config')) } } } - - return $_config[0] =& $config; + $_config[0] =& $config; + return $_config[0]; } } @@ -561,4 +561,4 @@ if ( ! function_exists('html_escape')) } /* End of file Common.php */ -/* Location: ./system/core/Common.php */ \ No newline at end of file +/* Location: ./system/core/Common.php */