aboutsummaryrefslogtreecommitdiff
path: root/h-source/Library/Db/Mysqli.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2013-10-14 16:06:56 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2013-10-14 16:06:56 +0000
commita93461b231fb94f3a6a9df09a30557732201ddcc (patch)
treef278951ee7746da2a618ec57043c57fafe779c1d /h-source/Library/Db/Mysqli.php
parent6fa0219202ce4ccc5c4592e66031bb0f7f8be2b0 (diff)
added new EasyGiant Library
Diffstat (limited to 'h-source/Library/Db/Mysqli.php')
-rw-r--r--h-source/Library/Db/Mysqli.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/h-source/Library/Db/Mysqli.php b/h-source/Library/Db/Mysqli.php
index df57a54..b65f470 100644
--- a/h-source/Library/Db/Mysqli.php
+++ b/h-source/Library/Db/Mysqli.php
@@ -273,7 +273,8 @@ class Db_Mysqli
$result = $this->db->query($query);
$temp = array();
while ($row = $result->fetch_assoc()) {
- $temp[$row['Field']] = reset(explode('(',$row['Type']));
+ $e = explode('(',$row['Type']);
+ $temp[$row['Field']] = reset($e);
}
$result->close();