From e343457d43e6cf4c0270dbb383acbb493c0fc94d Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Sun, 24 Apr 2011 11:16:36 +0100 Subject: [PATCH] Files missed from previous commit --- source/lib/SihnonFramework/Database.class.php | 2 +- source/lib/SihnonFramework/LogEntry.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/lib/SihnonFramework/Database.class.php b/source/lib/SihnonFramework/Database.class.php index 223981e..083041a 100644 --- a/source/lib/SihnonFramework/Database.class.php +++ b/source/lib/SihnonFramework/Database.class.php @@ -94,7 +94,7 @@ class SihnonFramework_Database { $results = array(); $result = $this->dbh->query($sql); - foreach ($result as $row) { + foreach ($result as $row) { $results[] = $row; } diff --git a/source/lib/SihnonFramework/LogEntry.class.php b/source/lib/SihnonFramework/LogEntry.class.php index 236f179..444165d 100644 --- a/source/lib/SihnonFramework/LogEntry.class.php +++ b/source/lib/SihnonFramework/LogEntry.class.php @@ -133,7 +133,7 @@ class SihnonFramework_LogEntry { static::log($logger, SihnonFramework_Log::LEVEL_ERROR, $message, $category); } - public static function recentEntries($log, $instance, $order_fields, $order_direction = SihnonFramework_Log::ORDER_DESC, $limit = 30) { + public static function recentEntries($log, $instance, $order_field, $order_direction = SihnonFramework_Log::ORDER_DESC, $limit = 30) { return $log->recentEntries(get_called_class(), $instance, $order_field, $order_direction, $limit); }