Changeset 13431

Show
Ignore:
Timestamp:
02/10/12 12:36:07 (3 months ago)
Author:
p_lindheimer
Message:

bug fix re #5488

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.10/featurecodeadmin/functions.inc.php

    r13430 r13431  
    141141 
    142142  $results = array(); 
    143   foreach ($fcs as $fc) { 
    144     if (in_array($fc['destination'], $destlist)) { 
    145       $results[] = $fc; 
     143  if ($dest === true) { 
     144    $results = $fcs; 
     145  } else { 
     146    foreach ($fcs as $fc) { 
     147      if (in_array($fc['destination'], $dest)) { 
     148        $results[] = $fc; 
     149      } 
    146150    } 
    147151  }