Ignore:
Timestamp:
Jun 24, 2011 2:46:37 PM (2 years ago)
Author:
alec
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/addressbook/func.inc

    r4869 r4878  
    671671 
    672672    $cid    = get_input_value('_cid', RCUBE_INPUT_GPC); 
    673     $source = get_input_value('_source', RCUBE_INPUT_GPC); 
     673    $source = (string) get_input_value('_source', RCUBE_INPUT_GPC); 
    674674 
    675675    if (!preg_match('/^[a-zA-Z0-9\+\/=_-]+(,[a-zA-Z0-9\+\/=_-]+)*$/', $cid)) { 
     
    687687            list ($c, $s) = explode('-', $id, 2); 
    688688            if (strlen($s)) { 
    689                 $result[$s][] = $c; 
    690             } 
    691             else if (strlen($source)) { 
    692                 $result[$source][] = $c; 
     689                $result[(string)$s][] = $c; 
    693690            } 
    694691        } 
Note: See TracChangeset for help on using the changeset viewer.