Преглед изворни кода

there was a type in the pub layout settings function that was catching all fields and dropping them in the right column instead of where they should go which is disabled

Shawna Spoor пре 6 година
родитељ
комит
9cc641c4ea
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tripal_ds/includes/tripal_ds.ds.inc

+ 1 - 1
tripal_ds/includes/tripal_ds.ds.inc

@@ -304,7 +304,7 @@ function _ds_layout_pub_settings_info($bundle_name, $instances) {
         field_update_instance($instance);
       }
       elseif($instance_name == 'schema__additional_type' || $instance_name == 'tpub__doi'
-        || $instance_name == 'tpub__publication_date' || 'tpub__abstract' ||
+        || $instance_name == 'tpub__publication_date' || $instance_name == 'tpub__abstract' ||
         $instance_name == 'tpub__citation') {
         array_push($properties, $instance_name);
       }