Explorar o código

Fixed bug reported by Abraham Llave

spficklin %!s(int64=12) %!d(string=hai) anos
pai
achega
e7889cd13e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tripal_feature/includes/tripal_feature.admin.inc

+ 1 - 1
tripal_feature/includes/tripal_feature.admin.inc

@@ -435,7 +435,7 @@ function tripal_feature_set_taxonomy($node, $feature_id) {
 
   // iterate through the taxonomy classes that have been
   // selected by the admin user and make sure we only set those
-  $tax_classes = variable_get('tax_classes', '');
+  $tax_classes = variable_get('tax_classes', array());
   $do_ft = 0;
   $do_op = 0;
   $do_lb = 0;