mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fixed PHP reference error in core/Common.php
This commit is contained in:
@@ -241,7 +241,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
return $_config[0] =& $config;
|
||||
# Fix irritating PHP error
|
||||
# see http://stackoverflow.com/questions/28348879/only-variable-references-should-be-returned-by-reference-codeigniter
|
||||
$_config[0] =& $config;
|
||||
return $_config[0];
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
@@ -505,4 +508,4 @@
|
||||
|
||||
|
||||
/* End of file Common.php */
|
||||
/* Location: ./system/core/Common.php */
|
||||
/* Location: ./system/core/Common.php */
|
||||
|
||||
Reference in New Issue
Block a user