mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 08:39:57 +02:00
news_render_type fixes. Path fix for othernews menus.
This commit is contained in:
@@ -40,7 +40,7 @@ class news_featurebox // include plugin-folder in the name.
|
||||
$fbox = array();
|
||||
|
||||
$nobody_regexp = "'(^|,)(".str_replace(",", "|", e_UC_NOBODY).")(,|$)'";
|
||||
$query = "SELECT * FROM #news WHERE news_class REGEXP '".e_CLASS_REGEXP."' AND NOT (news_class REGEXP ".$nobody_regexp.") AND FIND_IN_SET(4,news_render_type) ORDER BY news_datestamp DESC LIMIT 10";
|
||||
$query = "SELECT * FROM #news WHERE news_class REGEXP '".e_CLASS_REGEXP."' AND NOT (news_class REGEXP ".$nobody_regexp.") AND FIND_IN_SET(5,news_render_type) ORDER BY news_datestamp DESC LIMIT 10";
|
||||
|
||||
if($sql->db_Select_gen($query))
|
||||
{
|
||||
|
Reference in New Issue
Block a user