Lines 205-211
sub GetNewsToDisplay {
Link Here
|
205 |
OR expirationdate = '00-00-0000' |
205 |
OR expirationdate = '00-00-0000' |
206 |
) |
206 |
) |
207 |
AND DATE(timestamp) < DATE_ADD(CURDATE(), INTERVAL 1 DAY) |
207 |
AND DATE(timestamp) < DATE_ADD(CURDATE(), INTERVAL 1 DAY) |
208 |
AND (lang = '' OR lang = ?) |
208 |
AND (opac_news.lang = '' OR opac_news.lang = ?) |
209 |
AND (opac_news.branchcode IS NULL OR opac_news.branchcode = ?) |
209 |
AND (opac_news.branchcode IS NULL OR opac_news.branchcode = ?) |
210 |
ORDER BY number |
210 |
ORDER BY number |
211 |
}; # expirationdate field is NOT in ISO format? |
211 |
}; # expirationdate field is NOT in ISO format? |
212 |
- |
|
|