1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Removed debug info.

This commit is contained in:
Cameron 2014-01-22 07:51:38 -08:00
parent 064e461fc2
commit 846cbec7f9
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ class news_related // include plugin-folder in the name.
}
elseif(ADMIN)
{
return array(array('title'=>$query,'url'=>''));
// return array(array('title'=>$query,'url'=>''));
}
}

View File

@ -52,7 +52,7 @@ class page_related // replace 'e_' with 'plugin-folder_'
$items = array();
$tag_regexp = "'(^|,)(".str_replace(",", "|", $tags).")(,|$)'";
$tag_regexp = "'(^|, )(".str_replace(",", "|", $tags).")(,|$)'";
$query = "SELECT * FROM #page WHERE page_id != ".$parm['current']." AND page_class REGEXP '".e_CLASS_REGEXP."' AND page_metakeys REGEXP ".$tag_regexp." ORDER BY page_datestamp DESC LIMIT ".$parm['limit'];
@ -77,7 +77,7 @@ class page_related // replace 'e_' with 'plugin-folder_'
}
else
{
return array(array('title'=>$query,'url'=>''));
// return array(array('title'=>$query,'url'=>''));
}
}