Changeset 13437 for modules

Show
Ignore:
Timestamp:
02/13/12 20:46:36 (1 year ago)
Author:
p_lindheimer
Message:

more corrections re #5488

Files:

Legend:

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

    r13432 r13437  
    110110    $fcs = featurecodes_getAllFeaturesDetailed(); 
    111111    $found = false; 
     112    $dest = explode(',',$dest); 
    112113    foreach ($fcs as $fc) { 
    113       if ($fc['destination'] == $dest) { 
    114         $desc = $fc['description']; 
     114      if ($fc['defaultcode'] == $dest[1]) { 
     115        $desc = $fc['featuredescription']; 
    115116        $found = true; 
    116117        break;