From 913010cff5d09311ca6c8bc7a139d5deee82ba38 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Mon, 27 Aug 2012 21:50:15 +1000 Subject: minor consistency cleanup --- inc/database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/database.php') diff --git a/inc/database.php b/inc/database.php index 6f68e7e4..50b4754d 100644 --- a/inc/database.php +++ b/inc/database.php @@ -30,7 +30,7 @@ class PreparedQueryDebug { if ($config['debug'] && $function == 'execute') { $time = round((microtime(true) - $start) * 1000, 2) . 'ms'; - $debug['sql'][] = Array( + $debug['sql'][] = array( 'query' => $this->query->queryString, 'rows' => $this->query->rowCount(), 'time' => '~' . $time @@ -91,7 +91,7 @@ function query($query) { if (!$query) return false; $time = round((microtime(true) - $start) * 1000, 2) . 'ms'; - $debug['sql'][] = Array( + $debug['sql'][] = array( 'query' => $query->queryString, 'rows' => $query->rowCount(), 'time' => '~' . $time -- cgit v1.3