Browse Source

Issue 1889630: Fixed an mb_strlen error shown on the default analysis view

Lacey Sanderson 12 years ago
parent
commit
ea9593e8ce
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tripal_analysis/tripal_analysis.views.inc

+ 4 - 4
tripal_analysis/tripal_analysis.views.inc

@@ -35,10 +35,10 @@ function tripal_analysis_views_data()  {
   if (module_exists('tripal_views')) {
     // Base Table: Analysis
     $tablename = 'analysis';
-    // get the setup with the lightest priority. That's the table 
+    // get the setup with the lightest priority. That's the table
     // that currently integrated with views.
     $priority = tripal_views_get_table_lightest_priority($tablename);
-      
+
     // check to see if the table is integrated. If it is then integrate it's
     // corresponding 'chado_[table]' table.
     if (!tripal_views_is_integrated($tablename, $priority)) {
@@ -66,7 +66,7 @@ function tripal_analysis_views_data()  {
       'analysisprop'
     );
     foreach ($tables as $tablename) {
-      $priority = tripal_views_get_table_lightest_priority($tablename);     
+      $priority = tripal_views_get_table_lightest_priority($tablename);
       if (!tripal_views_is_integrated($tablename, $priority)) {
         $table_integration_array = tripal_views_get_integration_array_for_chado_table($tablename, FALSE, $priority);
         tripal_views_integration_add_entry($table_integration_array);
@@ -311,7 +311,7 @@ function tripal_analysis_views_default_views() {
     ),
     'program' => array(
       'operator' => '=',
-      'value' => array(),
+      'value' => '',
       'group' => '0',
       'exposed' => TRUE,
       'expose' => array(