From 5e495f9a62c02f5547fea7e80e138fd9f5c5b732 Mon Sep 17 00:00:00 2001 From: Harvie Date: Wed, 18 May 2011 01:12:52 +0200 Subject: [PATCH] Fixed permission disease instead of symptom. OMG. --- wwwroot/inc/result.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/inc/result.inc b/wwwroot/inc/result.inc index e37c118..e2afa3d 100644 --- a/wwwroot/inc/result.inc +++ b/wwwroot/inc/result.inc @@ -44,7 +44,7 @@ class result extends PDOStatement { } function getInt($column) { //DEPRECATED!!! Use $this->fetch(); instead!!! - $this->getString($column); //Dynamic typing OMG... + return $this->getString($column); //Dynamic typing OMG... } function getNumRows() { //DEPRECATED!!! Use $this->rowCount(); instead!!! -- 2.30.2