Commit b2c17ce9 authored by Cody Craven's avatar Cody Craven
Browse files

Issue #1122992 by codycraven: Fixed fatal error on taxonomy term display page...

Issue #1122992 by codycraven: Fixed fatal error on taxonomy term display page configuration when no taxonomy display yet exists.
parent a88a369f
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
Taxonomy Display 7.x-1.x, YYYY-MM-DD Taxonomy Display 7.x-1.x, YYYY-MM-DD
------------------------------------ ------------------------------------
Issue #1122992 by codycraven: Fixed fatal error on taxonomy term display page
configuration when no taxonomy display yet exists.
Taxonomy Display 7.x-1.0-alpha1, 2011-04-04
-------------------------------------------
Added taxonomy_display.api.php to define the hook invocations and alters created Added taxonomy_display.api.php to define the hook invocations and alters created
by taxonomy_display. Also modified taxonomy_display_save_taxonomy_display() to by taxonomy_display. Also modified taxonomy_display_save_taxonomy_display() to
make altering less resource intensive. make altering less resource intensive.
......
...@@ -191,7 +191,7 @@ function _taxonomy_display_admin_form_build_plugin_form($type, &$fieldset, &$val ...@@ -191,7 +191,7 @@ function _taxonomy_display_admin_form_build_plugin_form($type, &$fieldset, &$val
elseif (isset($options['missing'])) { elseif (isset($options['missing'])) {
$selected = 'missing'; $selected = 'missing';
} }
elseif (!isset($stored_settings['no_record'])) { else {
$selected = $stored_settings[$type . '_display_plugin']; $selected = $stored_settings[$type . '_display_plugin'];
} }
$fieldset[$type . '_display_select'] = array( $fieldset[$type . '_display_select'] = array(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment