Page 1 of 1

[invalid] ListIt2 broken in 2.0

Posted: Sat Jul 05, 2014 4:30 am
by drmikecrowe
Folks,

How would we fix this? ListIt2 uses this to load the language files:

Code: Select all

	public function ModLang()
	{
		$this->LoadLangMethods();

		$args = func_get_args();
		array_unshift($args,'');
		$args[0] = &$this;

		return call_user_func_array('cms_module_Lang', $args);
	}
However, LoadLangMethods() isn't present in 2.0.

It does this (in 1.x):

Code: Select all

	function LoadLangMethods()
	{
		if (!$this->modlang)
		{
			require_once(cms_join_path(dirname(__FILE__), 'module_support', 'modlang.inc.php'));
			$this->modlang = true;
		}
	}

Re: ListIt2 broken in 2.0

Posted: Sat Jul 05, 2014 9:49 am
by Rolf
This board is for Core issues only.