From 622c7b7aa48ab4a4544fdc89af91bcff6c219c75 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 21 Sep 2007 12:25:51 +0000 Subject: Simplify expression --- it_dbi.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_dbi.class b/it_dbi.class index 5ebf1bf..f36903e 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -463,7 +463,7 @@ function select($query = null) unset($query['CALC_FOUND_ROWS']); } - $nofetch = $this->_nofetch = isset($query['NOFETCH']) ? $query['NOFETCH'] : false; + $nofetch = $this->_nofetch = $query['NOFETCH']; unset($query['NOFETCH']); if ($this->_result = $this->query($sql = "SELECT $what FROM $join " . $this->_where($query, $this->_link))) -- cgit v1.2.3