1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 11:20:25 +02:00

Fixes #1130 - Hardcoded 'none' to LAN_NONE (#6)

This commit is contained in:
Tijn Kuyper
2015-10-24 14:04:29 +02:00
parent c0a62c16c7
commit efa345e8f2

View File

@@ -45,7 +45,7 @@ class list_news
$bullet = $this->parent->getBullet($this->parent->settings['icon']);
$list_caption = $this->parent->settings['caption'];
$list_display = (vartrue($this->parent->settings['open']) ? '' : 'none');
$list_display = (vartrue($this->parent->settings['open']) ? '' : LAN_NONE);
$qry = "
SELECT n.*, c.category_id AS news_category_id, c.category_name AS news_category_name, u.user_id AS news_author_id, u.user_name AS news_author_name