From 3d8b1756cc1f055d284d635ce300ed8f41f0984d Mon Sep 17 00:00:00 2001 From: mitagmio Date: Thu, 8 Feb 2018 12:56:23 +0300 Subject: [PATCH] Update Lang.php A PHP Error was encountered Severity: Warning Message: Declaration of MX_Lang::load($langfile, $lang = '', $return = false, $_module = NULL) should be compatible with CI_Lang::load($langfile = '', $idiom = '', $return = false, $add_suffix = true, $alt_path = '') Filename: MX/Lang.php Line Number: 70 --- application/third_party/MX/Lang.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/third_party/MX/Lang.php b/application/third_party/MX/Lang.php index 209766d..d6166f9 100644 --- a/application/third_party/MX/Lang.php +++ b/application/third_party/MX/Lang.php @@ -35,7 +35,7 @@ **/ class MX_Lang extends CI_Lang { - public function load($langfile, $lang = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '', $_module = '') { + public function load($langfile ='', $lang = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '', $_module = '') { if (is_array($langfile)) { foreach($langfile as $_lang) $this->load($_lang); @@ -67,4 +67,4 @@ public function load($langfile, $lang = '', $return = FALSE, $add_suffix = TRUE, return $this->language; } -} \ No newline at end of file +}