From b4254a7ce309617009d0175f06579ea48d7401fa Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 23 Mar 2017 21:28:56 -0300 Subject: [PATCH] Bug 17762: Fix test for NewsChannels.t Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- C4/NewsChannels.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/NewsChannels.pm b/C4/NewsChannels.pm index 8e261db551..40e70da886 100644 --- a/C4/NewsChannels.pm +++ b/C4/NewsChannels.pm @@ -205,7 +205,7 @@ sub GetNewsToDisplay { OR expirationdate = '00-00-0000' ) AND DATE(timestamp) < DATE_ADD(CURDATE(), INTERVAL 1 DAY) - AND (lang = '' OR lang = ?) + AND (opac_news.lang = '' OR opac_news.lang = ?) AND (opac_news.branchcode IS NULL OR opac_news.branchcode = ?) ORDER BY number }; # expirationdate field is NOT in ISO format? -- 2.39.5