diff --git a/core/modules/dblog/dblog.admin.inc b/core/modules/dblog/dblog.admin.inc index 3b56f45834532e2c84baf0bb582ba752e4ead563..edef5fb13c77251917da18ea1bf6845b30444dc1 100644 --- a/core/modules/dblog/dblog.admin.inc +++ b/core/modules/dblog/dblog.admin.inc @@ -61,7 +61,7 @@ function dblog_overview() { $rows[] = array('data' => array( // Cells - array('class' => 'icon'), + array('class' => array('icon')), t($dblog->type), format_date($dblog->timestamp, 'short'), theme('dblog_message', array('event' => $dblog, 'link' => TRUE)), diff --git a/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php b/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php index 3492c882b2989c60d3a74e3db79e138ea0765b60..ddfcac43dc2fe58daca46135645a091cc83f10b2 100644 --- a/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php +++ b/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php @@ -518,6 +518,10 @@ protected function testFilter() { $this->assertEqual(array_sum($count), $type['count'], 'Count matched'); } + $this->drupalGet('admin/reports/dblog', array('query' => array('order' => 'Type'))); + $this->assertResponse(200); + $this->assertText(t('Operations'), 'Operations text found'); + // Clear all logs and make sure the confirmation message is found. $this->drupalPost('admin/reports/dblog', array(), t('Clear log messages')); $this->assertText(t('Database log cleared.'), 'Confirmation message found');