diff --git sites/default/modules/contrib/taxonomy_image/contributed/taxonomy_image_link_alter/taxonomy_image_link_alter.module sites/default/modules/contrib/taxonomy_image/contributed/taxonomy_image_link_alter/taxonomy_image_link_alter.module
index 6465291420d3251ee4c5d8ee2b964d67923d6afd..ffa10a72980cbd05838906cb8861725cc6aa0872 100644
--- sites/default/modules/contrib/taxonomy_image/contributed/taxonomy_image_link_alter/taxonomy_image_link_alter.module
+++ sites/default/modules/contrib/taxonomy_image/contributed/taxonomy_image_link_alter/taxonomy_image_link_alter.module
@@ -37,7 +37,7 @@ function taxonomy_image_link_alter(&$links, $node) {
   }
 
   // Is the type one we want to change?
-  if (!$type_enabled[$node->type]) {
+  if (!isset($type_enabled[$node->type]) || !$type_enabled[$node->type]) {
     return;
   }
 
