1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 10:01:56 +02:00

#2694 - Correct message when no news items are found on specific day

This commit is contained in:
Tijn Kuyper
2019-09-25 11:27:11 +02:00
parent 98b0cc6763
commit 1bf3fcc5e6
2 changed files with 9 additions and 1 deletions

View File

@@ -1420,7 +1420,14 @@ class news_front
AND (FIND_IN_SET('0', n.news_render_type) OR FIND_IN_SET(1, n.news_render_type)) AND n.news_datestamp BETWEEN {$startdate} AND {$enddate}
ORDER BY ".$this->order." DESC LIMIT ".intval($this->from).",".ITEMVIEW;
$noNewsMessage = LAN_NEWS_462;
if($this->action == 'month')
{
$noNewsMessage = LAN_NEWS_462;
}
else
{
$noNewsMessage = LAN_NEWS_464;
}
break;