Changeset 6528

Show
Ignore:
Timestamp:
09/01/08 11:30:52 (5 years ago)
Author:
p_lindheimer
Message:

fixes #3140 typo in change from strpos to substr

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/core/agi-bin/dialparties.agi

    r6521 r6528  
    305305// Now check for DND 
    306306foreach ( $ext as $k ) { 
    307   if ( (substr($k,-1)=='#') ) { 
     307  if ( (substr($k,-1)!='#') ) { 
    308308    // no point in doing if cf is enabled 
    309309    $dnd = $AGI->database_get('DND',$k); 
     
    410410  // if CF is not in use and $dndprimary is not set otherwise $extnum has been cleared and nothing to do 
    411411  // 
    412   if ( (substr($k,-1)=='#') && $dndprimary == 0) { 
     412  if ( (substr($k,-1)!='#') && $dndprimary == 0) { 
    413413    // CW is not in use or CFB is in use on this extension, then we need to check! 
    414414    if ( ($exthascw == 0) || ($exthascfb == 1) || ($exthascfu == 1) ) { 
     
    493493      } 
    494494      // Update Caller ID for calltrace application 
    495       if ((substr($k,-1)=='#') && (($rgmethod != "hunt") && ($rgmethod != "memoryhunt") && ($rgmethod != "firstavailable") && ($rgmethod != "firstnotonphone")) ) { 
     495      if ((substr($k,-1)!='#') && (($rgmethod != "hunt") && ($rgmethod != "memoryhunt") && ($rgmethod != "firstavailable") && ($rgmethod != "firstnotonphone")) ) { 
    496496        if ( isset($cidnum) && is_numeric($cidnum) ) { 
    497497          $rc = $AGI->database_put('CALLTRACE', $k, $cidnum); 
  • modules/branches/2.5/core/module.xml

    r6522 r6528  
    44  <category>Basic</category> 
    55  <name>Core</name> 
    6   <version>2.5.0rc2.3</version> 
     6  <version>2.5.0rc2.4</version> 
    77  <candisable>no</candisable> 
    88  <canuninstall>no</canuninstall> 
    99  <changelog> 
     10    *2.5.0rc2.4* #3140 fixed typo introduced in dialparties.agi 
    1011    *2.5.0rc2.3* #3130, #2750, #3128, #3131 (requires r6519) added master recording disable (can be performance booster) 
    1112    *2.5.0rc2.2* lots of changed to be updated