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:
parent
064e461fc2
commit
846cbec7f9
@ -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'=>''));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user