From 5a63f7cfd05a6a77d34945f733ece79a057dbe06 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Mon, 15 Dec 2003 01:22:13 +0000 Subject: [PATCH] intval -> (int) --- phpgwapi/inc/class.db_odbc.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phpgwapi/inc/class.db_odbc.inc.php b/phpgwapi/inc/class.db_odbc.inc.php index 88d77a1e06..9e0ee3c470 100644 --- a/phpgwapi/inc/class.db_odbc.inc.php +++ b/phpgwapi/inc/class.db_odbc.inc.php @@ -151,11 +151,11 @@ $i*=10; } - $j=0; - while ($i!=$j) + $j = 0; + while($i != $j) { - $k= $j+intval(($i-$j)/2); - if (odbc_fetch_row($this->Query_ID, $k)) + $k = $j + (int)(($i-$j) / 2); + if(odbc_fetch_row($this->Query_ID, $k)) { $j=$k; }