From d4cee3177481640dcfc6e0f8baab8cdfeef8a45f Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 30 Mar 2008 14:07:14 +0000 Subject: [PATCH] make sure int is int git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@148 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- www/inc/db/db.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/www/inc/db/db.php b/www/inc/db/db.php index cb3886e..67f51fd 100644 --- a/www/inc/db/db.php +++ b/www/inc/db/db.php @@ -224,7 +224,7 @@ abstract class DbEngine public function escapeInt($i) { if($i === false)return "NULL"; - return $i + 0; + return round($i + 0); } /**escapes strings; the default uses addslashes and encloses the value in ''*/ -- 1.7.2.5