Changeset 9833

Show
Ignore:
Timestamp:
06/15/10 14:02:29 (2 years ago)
Author:
GameGamer43
Message:

closes #4333 - check if outboundCID is set and it's not set to nothing

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.8/amp_conf/htdocs/recordings/modules/settings.module

    r9663 r9833  
    679679    if ($extension) { 
    680680      $_SESSION['ari_user']['extension']      = $extension; 
    681       $_SESSION['ari_user']['outboundCID']      = $outboundCID; 
     681      if (isset($outboundCID) && trim($outboundCID) != '') { 
     682      $_SESSION['ari_user']['outboundCID']      = $outboundCID; 
     683      } 
    682684      $_SESSION['ari_user']['displayname']      = $displayname; 
    683685      $_SESSION['ari_user']['voicemail_password']     = $vm_password;