Changeset 10201

Show
Ignore:
Timestamp:
08/01/10 01:58:36 (3 years ago)
Author:
mbrevda
Message:

closes #4284; SetCallerID Module creates a bad destination

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • contributed_modules/modules/setcid/functions.inc.php

    r10165 r10201  
    104104    return $destlist; 
    105105  } 
    106   $sql = "SELECT cid_id, description FROM setcid "; 
     106  $sql = "SELECT cid_id, description, dest FROM setcid "; 
    107107  if ($dest !== true) { 
    108108    $sql .= "WHERE cid_id in ('".implode("','",$dest)."')"; 
     
    113113 
    114114  foreach ($results as $result) { 
    115     $thisdest = $result['description']; 
     115    $thisdest = $result['dest']; 
    116116    $thisid   = $result['cid_id']; 
    117117    $destlist[] = array( 
     
    129129 
    130130function setcid_getdestinfo($dest) {dbug('$thiscid',$dest); 
    131   if (substr(trim($dest),0,10) == 'app-setcid,') { 
     131  if (substr(trim($dest),0,11) == 'app-setcid,') { 
    132132    $grp = explode(',',$dest); 
    133133    $id = $grp[1]; 
  • contributed_modules/modules/setcid/module.xml

    r7501 r10201  
    22  <rawname>setcid</rawname> 
    33  <name>Set CallerID</name> 
    4   <version>2.5.0</version> 
     4  <version>2.8.0</version> 
    55  <type>setup</type> 
    66  <category>Third Party Addon</category> 
     
    1212  </menuitems> 
    1313  <changelog> 
     14    *2.8.0* #4284, #4316 
    1415    *2.5.0* First release of module 
    1516  </changelog>