Files missed from previous commit

This commit is contained in:
2011-04-24 11:16:36 +01:00
parent e1cb31e5ca
commit e343457d43
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ class SihnonFramework_Database {
$results = array();
$result = $this->dbh->query($sql);
foreach ($result as $row) {
foreach ($result as $row) {
$results[] = $row;
}

View File

@@ -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);
}