From 838b4331106b082bee0c375d440960c34148357d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 29 Oct 2008 10:08:52 +0000 Subject: - Patch #319666 by Dave Reid: remove unnecessary boolean ternary conditaionals. --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index 4fa229e5e..2101c671e 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1757,7 +1757,7 @@ function node_feed($nids = FALSE, $channel = array()) { $item->link = url("node/$nid", array('absolute' => TRUE)); if ($item_length != 'title') { - $teaser = ($item_length == 'teaser') ? TRUE : FALSE; + $teaser = ($item_length == 'teaser'); // Filter and prepare node teaser if (node_hook($item, 'view')) { -- cgit v1.2.3