From e907351c8191b440f1995d1374012c45cbdbe23c Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Thu, 31 Aug 2006 17:40:45 +0000
Subject: [PATCH] - Patch #79118 by Robrecht Jacques: removed left-over code.

---
 modules/filter/filter.module | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index 545ec0885c9f..1961a6753efd 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -313,7 +313,6 @@ function filter_admin_overview() {
   $formats = filter_formats();
   $error = FALSE;
 
-  $rows = array();
   foreach ($formats as $id => $format) {
     $roles = array();
     foreach (user_roles() as $rid => $name) {
@@ -322,7 +321,6 @@ function filter_admin_overview() {
         $roles[] = $name;
       }
     }
-    $row = array();
     $default = ($id == variable_get('filter_default_format', 1));
     $options[$id] = '';
     $form[$format->name]['id'] = array('#value' => $id);
@@ -344,6 +342,7 @@ function filter_admin_overview_submit($form_id, $form_values) {
 }
 
 function theme_filter_admin_overview($form) {
+  $rows = array();
   foreach ($form as $name => $element) {
     if (isset($element['roles']) && is_array($element['roles'])) {
       $rows[] = array(
-- 
GitLab