Browse Source

Fixed wrapping issue with TripalField and ChadoField default_descriptions. PHP 5.6 doesn't like the concentation across lines but without the new-line is included in the description

Stephen Ficklin 7 years ago
parent
commit
96f16f12fe

+ 1 - 2
tripal/includes/TripalFields/TripalField.inc

@@ -15,8 +15,7 @@ class TripalField {
   public static $default_label = 'Tripal Field';
 
   // The default description for this field.
-  public static $default_description = 'The generic base class for all Tripal fields. 
-    Replace this text as appropriate for the child implementation.';
+  public static $default_description = 'The generic base class for all Tripal fields. Replace this text as appropriate for the child implementation.';
 
   // Provide a list of global settings. These can be accessed witihn the
   // globalSettingsForm.  When the globalSettingsForm is submitted then

+ 1 - 2
tripal_chado/includes/TripalFields/ChadoField.inc

@@ -6,8 +6,7 @@ class ChadoField extends TripalField {
   public static $default_label = 'Chado Field';
 
   // The default description for this field.
-  public static $default_description = 'The generic base class for all Chado fields.
-    Replace this text as appropriate for the child implementation.';
+  public static $default_description = 'The generic base class for all Chado fields. Replace this text as appropriate for the child implementation.';
 
   // A list of global settings. These can be accessed witihn the
   // globalSettingsForm.  When the globalSettingsForm is submitted then