Changeset 4878 in subversion for trunk/roundcubemail/program/steps/addressbook/func.inc
- Timestamp:
- Jun 24, 2011 2:46:37 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/addressbook/func.inc
r4869 r4878 671 671 672 672 $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); 674 674 675 675 if (!preg_match('/^[a-zA-Z0-9\+\/=_-]+(,[a-zA-Z0-9\+\/=_-]+)*$/', $cid)) { … … 687 687 list ($c, $s) = explode('-', $id, 2); 688 688 if (strlen($s)) { 689 $result[$s][] = $c; 690 } 691 else if (strlen($source)) { 692 $result[$source][] = $c; 689 $result[(string)$s][] = $c; 693 690 } 694 691 }
Note: See TracChangeset
for help on using the changeset viewer.
