Changeset b1f0846 in github


Ignore:
Timestamp:
Oct 7, 2011 4:33:24 AM (20 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.7, release-0.8
Children:
fb40f37
Parents:
8fb04be
Message:
  • Make sure LDAP name fields aren't arrays (#1488108)
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r84dc98d rb1f0846  
    22=========================== 
    33 
     4- Make sure LDAP name fields aren't arrays (#1488108) 
    45- Fixed imap test to non-default port when using ssl (#1488118) 
    56- Force all files to be overwritten when updating (#1488117) 
  • program/include/rcube_ldap.php

    r8fb04be rb1f0846  
    7373    { 
    7474        $this->prop = $p; 
    75          
     75 
    7676        if (isset($p['searchonly'])) 
    7777            $this->searchonly = $p['searchonly']; 
     
    448448            return $this->result; 
    449449        } 
    450          
     450 
    451451        // add general filter to query 
    452452        if (!empty($this->prop['filter']) && empty($this->filter)) 
     
    10321032                    $out[$rf] = $value; 
    10331033            } 
     1034 
     1035            // Make sure name fields aren't arrays (#1488108) 
     1036            if (is_array($out[$rf]) && in_array($rf, array('name', 'surname', 'firstname', 'middlename', 'nickname'))) { 
     1037                $out[$rf] = $out[$rf][0]; 
     1038            } 
    10341039        } 
    10351040 
  • program/steps/mail/search.inc

    rbba2529 rb1f0846  
    7979        default:     $subject[$header] = 'HEADER '.strtoupper($header); 
    8080      } 
    81      
     81 
    8282    // save search modifiers for the current folder to user prefs 
    8383    $search_mods = $RCMAIL->config->get('search_mods', $SEARCH_MODS_DEFAULT); 
Note: See TracChangeset for help on using the changeset viewer.