mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Removed debug info.
This commit is contained in:
@@ -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'=>''));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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'=>''));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user