diff options
author | Filipp Lepalaan <filipp@mekanisti.fi> | 2009-11-08 23:35:59 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mekanisti.fi> | 2009-11-08 23:35:59 +0200 |
commit | 71eebcefb57763451d3cc2749d2ed9e181887157 (patch) | |
tree | 1059305e84d5f5889e8306df0302398e736931ab /Db.php | |
parent | f0bb7133827d4e36067333f70ba046e08cd53cd9 (diff) | |
download | main-71eebcefb57763451d3cc2749d2ed9e181887157.tar.gz main-71eebcefb57763451d3cc2749d2ed9e181887157.tar.bz2 main-71eebcefb57763451d3cc2749d2ed9e181887157.zip |
Lots of fixes, better url parsing
Diffstat (limited to 'Db.php')
-rw-r--r-- | Db.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -84,7 +84,7 @@ class Db } // Select statements need the query results - if (preg_match('/^select/i', $sql)) { + if (preg_match('/^SELECT/i', $sql)) { return $stmt; } @@ -104,6 +104,9 @@ class Db } + /** + * + */ public static function fetch($sql, $data = null) { $stmt = self::query($sql, $data); |