From 6c5f901084159e92eb5606848198fadf4738f450 Mon Sep 17 00:00:00 2001 From: colshrapnel Date: Fri, 25 Jan 2013 01:49:35 +0400 Subject: [PATCH] Fixing typo --- safemysql.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safemysql.class.php b/safemysql.class.php index 5979cec..4a2ed2a 100644 --- a/safemysql.class.php +++ b/safemysql.class.php @@ -320,7 +320,7 @@ class SafeMySQL $ret = array(); if ( $res = $this->rawQuery($query) ) { - while($row = $res->fetch($res)) + while($row = $this->fetch($res)) { $key = $row[$index]; unset($row[$index]);