Changeset 529 in subversion
- Timestamp:
- Mar 28, 2007 9:53:36 AM (6 years ago)
- Location:
- branches/devel-addressbook/program
- Files:
-
- 2 edited
-
include/rcube_ldap.inc (modified) (1 diff)
-
steps/addressbook/copy.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/devel-addressbook/program/include/rcube_ldap.inc
r528 r529 246 246 { 247 247 $ids = explode(',', $value); 248 $ this->result = new rcube_result_set();248 $result = new rcube_result_set(); 249 249 foreach ($ids as $id) 250 250 if ($rec = $this->get_record($id, true)) 251 251 { 252 $ this->result->add($rec);253 $ this->result->count++;252 $result->add($rec); 253 $result->count++; 254 254 } 255 255 256 return $ this->result;256 return $result; 257 257 } 258 258 -
branches/devel-addressbook/program/steps/addressbook/copy.inc
r528 r529 22 22 $cid = get_input_value('_cid', RCUBE_INPUT_POST); 23 23 $target = get_input_value('_to', RCUBE_INPUT_POST); 24 if ($cid && preg_match('/^[a-z0-9\-_=]+(,[ 0-9]+)*$/i', $cid) && strlen($target) && $target != $source)24 if ($cid && preg_match('/^[a-z0-9\-_=]+(,[a-z0-9\-_=]+)*$/i', $cid) && strlen($target) && $target != $source) 25 25 { 26 26 if ($target != '0')
Note: See TracChangeset
for help on using the changeset viewer.
