Переглянути джерело

Fixed missing commas issues

Stephen Ficklin 11 роки тому
батько
коміт
1774b7471b

+ 2 - 4
tripal_cv/api/tripal_cv.api.inc

@@ -61,15 +61,13 @@ function tripal_cv_get_cv($select_values) {
   elseif (empty($results)) {
   elseif (empty($results)) {
     tripal_core_report_error('tripal_cv', TRIPAL_WARNING,
     tripal_core_report_error('tripal_cv', TRIPAL_WARNING,
       'tripal_cv_get_cv: No cv matches criteria values:%values',
       'tripal_cv_get_cv: No cv matches criteria values:%values',
-      array('%values' => print_r($select_values, TRUE)),
-    );
+      array('%values' => print_r($select_values, TRUE)));
     return FALSE;
     return FALSE;
   }
   }
   else {
   else {
     tripal_core_report_error('tripal_cv', TRIPAL_WARNING,
     tripal_core_report_error('tripal_cv', TRIPAL_WARNING,
       'tripal_cv_get_cv: 2+ cvs match criteria values:%values',
       'tripal_cv_get_cv: 2+ cvs match criteria values:%values',
-      array('%values' => print_r($select_values, TRUE)),
-    );
+      array('%values' => print_r($select_values, TRUE)));
   }
   }
 
 
 }
 }

+ 2 - 4
tripal_db/api/tripal_db.api.inc

@@ -219,15 +219,13 @@ function tripal_db_get_dbxref($select_values) {
   elseif (empty($results)) {
   elseif (empty($results)) {
     tripal_core_report_error('tripal_db', TRIPAL_WARNING,
     tripal_core_report_error('tripal_db', TRIPAL_WARNING,
       'tripal_db_get_dbxref: No dbxref matches criteria values:%values',
       'tripal_db_get_dbxref: No dbxref matches criteria values:%values',
-      array('%values' => print_r($select_values, TRUE)),
-    );
+      array('%values' => print_r($select_values, TRUE)));
     return FALSE;
     return FALSE;
   }
   }
   else {
   else {
     tripal_core_report_error('tripal_db', TRIPAL_WARNING,
     tripal_core_report_error('tripal_db', TRIPAL_WARNING,
       'tripal_db_get_dbxref: 2+ dbxrefs match criteria values:%values',
       'tripal_db_get_dbxref: 2+ dbxrefs match criteria values:%values',
-      array('%values' => print_r($select_values, TRUE)),
-    );
+      array('%values' => print_r($select_values, TRUE)));
   }
   }
 
 
 }
 }

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

@@ -356,7 +356,7 @@ function tripal_feature_load_gff3($gff_file, $organism_id, $analysis_id,
     $sql = "SELECT * FROM {cv} WHERE name = :cvname";
     $sql = "SELECT * FROM {cv} WHERE name = :cvname";
     $cv = chado_query($sql, array(':cvname' => 'sequence'))->fetchObject();
     $cv = chado_query($sql, array(':cvname' => 'sequence'))->fetchObject();
     if (!$tripal_core_report_error) {   
     if (!$tripal_core_report_error) {   
-      tripal_core_report_error('T_gff3_loader', TRIPAL_ERROR "Cannot find the 'sequence' ontology", 
+      tripal_core_report_error('T_gff3_loader', TRIPAL_ERROR, "Cannot find the 'sequence' ontology", 
         array());
         array());
       return '';
       return '';
     }
     }

+ 2 - 1
tripal_views/includes/tripal_views_integration.inc

@@ -1292,7 +1292,8 @@ function tripal_views_integration_ajax_join_field($form, $form_state) {
     return $form['view_setup_table'][$field]['column-3'][$join_field];
     return $form['view_setup_table'][$field]['column-3'][$join_field];
   }
   }
   else {
   else {
-    tripal_core_report_error('tripal_views', TRIPAL_ERROR 'Tripal Views Integration Ajax failed due to being unable to determine which row needs updating', array());
+    tripal_core_report_error('tripal_views', TRIPAL_ERROR, 
+      'Tripal Views Integration Ajax failed due to being unable to determine which row needs updating', array());
     return $form;
     return $form;
   }
   }
 }
 }