I was created custom module. & use below code for get language file. So, it was working fine in OpenCart 1.5.6.4.
(admin\controller\module\custom.php)
$language = $this->load->language('module/custom');
$this->data = array_merge($this->data, $language);
but, it is not working in Opencart 2.0.
Get below error in admin side module in OpenCart 2.0
Warning: array_merge() [function.array-merge]: Argument #1 is not an array
How can I fix it?
Would appreciate the help.