Show
Ignore:
Timestamp:
04/02/11 18:29:13 (2 years ago)
Author:
p_lindheimer
Message:

fixes #4986 number outbound routes starting at +100, please test and report if this fixes things

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.9/customcontexts/functions.inc.php

    r9995 r11958  
    6262                      (context, include, description, missing, sort) 
    6363                      VALUES ("'.$section.'", "'.$include['include'].'", 
    64                       "'.$include['comment'].'", "0", "'.$i.'")  
    65                       ON DUPLICATE KEY UPDATE sort = "'.$i.'", missing = "0"'; 
     64                      "'.$include['comment'].'", "0", "'.($i+100).'")  
     65                      ON DUPLICATE KEY UPDATE sort = "'.($i+100).'", missing = "0"'; 
    6666              $db->query($sql); 
    6767            } else { 
     
    569569      } 
    570570      $currentcomponent->setoptlistopts('includeyn', 'sort', false); 
    571       for($i = 0; $i <= 200; $i++) {  
     571      for($i = 0; $i <= 300; $i++) {  
    572572        $currentcomponent->addoptlistitem('includesort', $i - 50, $i); 
    573573      }