Explorar o código

Fixed bug on feature sync page

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

+ 1 - 1
tripal_feature/includes/syncFeatures.inc

@@ -239,7 +239,7 @@ function tripal_feature_sync_features($max_sync = 0, $organism_id = NULL,
 
   // Iterate through features that need to be synced
   $interval = intval($count * 0.01);
-  if ($interval > 1) {
+  if ($interval < 1) {
     $interval = 1;
   }
   $num_ids = sizeof($ids);