commit | 6a285fb39f5fce271dc23e13bafdb414502c9ecb | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Sun Aug 27 19:54:10 2006 +0000 |
committer | admin <devnull@localhost> | Sun Aug 27 19:54:10 2006 +0000 |
tree | 9f99894cfdfaa81a41dbcbfd865e9d946999ea6a | |
parent | 97cdfb15951439bd4b04fabaf0dd590d9480c39e [diff] |
diff --git a/system/drivers/DB_sqlite.php b/system/drivers/DB_sqlite.php index b2c31a8..71d2561 100644 --- a/system/drivers/DB_sqlite.php +++ b/system/drivers/DB_sqlite.php
@@ -489,7 +489,14 @@ */ function _fetch_object() { - return sqlite_fetch_object($this->result_id); + if (function_exists('sqlite_fetch_object')) + { + return sqlite_fetch_object($this->result_id); + } + else + { + return $this->_fetch_assoc(); + } } }