- Make sure LDAP name fields aren't arrays (#1488108)
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | - Make sure LDAP name fields aren't arrays (#1488108) |
| | | - Fixed imap test to non-default port when using ssl (#1488118) |
| | | - Force all files to be overwritten when updating (#1488117) |
| | | - Fix issue where it wasn't possible to change list view mode in folder manager for INBOX (#1488107) |
| | |
| | | function __construct($p, $debug=false, $mail_domain=NULL) |
| | | { |
| | | $this->prop = $p; |
| | | |
| | | |
| | | if (isset($p['searchonly'])) |
| | | $this->searchonly = $p['searchonly']; |
| | | |
| | |
| | | $this->result->searchonly = true; |
| | | return $this->result; |
| | | } |
| | | |
| | | |
| | | // add general filter to query |
| | | if (!empty($this->prop['filter']) && empty($this->filter)) |
| | | { |
| | |
| | | else |
| | | $out[$rf] = $value; |
| | | } |
| | | |
| | | // Make sure name fields aren't arrays (#1488108) |
| | | if (is_array($out[$rf]) && in_array($rf, array('name', 'surname', 'firstname', 'middlename', 'nickname'))) { |
| | | $out[$rf] = $out[$rf][0]; |
| | | } |
| | | } |
| | | |
| | | return $out; |
| | |
| | | case 'text': $subject['text'] = 'TEXT'; break; |
| | | default: $subject[$header] = 'HEADER '.strtoupper($header); |
| | | } |
| | | |
| | | |
| | | // save search modifiers for the current folder to user prefs |
| | | $search_mods = $RCMAIL->config->get('search_mods', $SEARCH_MODS_DEFAULT); |
| | | $search_mods[$mbox] = array_fill_keys(array_keys($subject), 1); |