Open
Description
Hi,
I ran into an issue with your module because the $this->EE->javascript->generate_json() function doesn't exist anymore. (mod.cx_disqus.php
)
I saw an other module that use this method to determine if you need to use it or not :
private function _get_json($data)
{
if (version_compare(APP_VER, '2.6', '<') OR !function_exists('json_encode'))
{
return $this->EE->javascript->generate_json($data, TRUE);
}
else
{
return json_encode($data);
}
}
I can make a pull request if you want ;)
Metadata
Assignees
Labels
No labels
Activity