From e918bb44b8c9846b45d4b98bae517e55cb31b78e Mon Sep 17 00:00:00 2001
From: Erick Hitter <ehitter@gmail.com>
Date: Sun, 29 Dec 2013 16:36:28 -0500
Subject: [PATCH] Correct variable reference to remedy "undefined index"
 notice.

Introduced in e696a3727.
---
 tag-dropdown-widget.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tag-dropdown-widget.php b/tag-dropdown-widget.php
index c56f8b3..c5d893f 100644
--- a/tag-dropdown-widget.php
+++ b/tag-dropdown-widget.php
@@ -191,7 +191,7 @@ class taxonomy_dropdown_widget_plugin {
 		}
 
 		if ( ! empty( $options['incexc_ids'] ) ) {
-			$terms_options[ $incexc ] = $options['incexc_ids'];
+			$terms_options[ $options['incexc'] ] = $options['incexc_ids'];
 		}
 
 		$terms_options = apply_filters( 'taxonomy_dropdown_widget_options', $terms_options, $id );
-- 
GitLab