Changeset 45dd7c1 in github
- Timestamp:
- May 26, 2012 2:38:50 PM (12 months ago)
- Branches:
- master, HEAD, dev-browser-capabilities, pdo
- Children:
- 077befb
- Parents:
- 089e53c
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcmail.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rc083969 r45dd7c1 2 2 =========================== 3 3 4 - Fix host autoselection when default_host is an array (#1488495) 4 5 - Move messages forwarding mode setting into Preferences 5 6 - Add is_escaped attribute for html_select and html_textarea (#1488485) -
program/include/rcmail.php
rb97f21a r45dd7c1 547 547 if (is_array($default_host)) { 548 548 $post_host = rcube_utils::get_input_value('_host', rcube_utils::INPUT_POST); 549 $post_user = rcube_utils::get_input_value('_user', rcube_utils::INPUT_POST); 550 551 list($user, $domain) = explode('@', $post_user); 549 552 550 553 // direct match in default_host array … … 552 555 $host = $post_host; 553 556 } 554 555 557 // try to select host by mail domain 556 list($user, $domain) = explode('@', rcube_utils::get_input_value('_user', rcube_utils::INPUT_POST)); 557 if (!empty($domain)) { 558 else if (!empty($domain)) { 558 559 foreach ($default_host as $storage_host => $mail_domains) { 559 560 if (is_array($mail_domains) && in_array_nocase($domain, $mail_domains)) {
Note: See TracChangeset
for help on using the changeset viewer.
