mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 19:44:09 +02:00
Issue #4336 and tests for e107::plugLan() (e107::lan()) . Error message will be displayed in debug mode when a LAN file failed to load.
This commit is contained in:
@@ -442,13 +442,15 @@ class news {
|
||||
*/
|
||||
function render_newsgrid($parm=null)
|
||||
{
|
||||
|
||||
$cacheString = 'nq_news_grid_menu_'.md5(serialize($parm));
|
||||
|
||||
$cached = e107::getCache()->retrieve($cacheString);
|
||||
|
||||
if(false === $cached)
|
||||
{
|
||||
e107::plugLan('news');
|
||||
|
||||
e107::plugLan('news', null);
|
||||
|
||||
if(is_string($parm))
|
||||
{
|
||||
|
Reference in New Issue
Block a user