summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-10-29 10:08:52 +0000
committerDries Buytaert <dries@buytaert.net>2008-10-29 10:08:52 +0000
commit838b4331106b082bee0c375d440960c34148357d (patch)
treee7d0718c423c9119529fa95cefa7f4dba7d80f01 /modules/node/node.module
parentae2e4ccd78dd8b04030a1ea3ba14847c4668382f (diff)
downloadbrdo-838b4331106b082bee0c375d440960c34148357d.tar.gz
brdo-838b4331106b082bee0c375d440960c34148357d.tar.bz2
- Patch #319666 by Dave Reid: remove unnecessary boolean ternary conditaionals.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
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')) {