Changeset 4987 in subversion


Ignore:
Timestamp:
Jul 29, 2011 2:48:09 AM (22 months ago)
Author:
alec
Message:
  • Fix 'sql' identifier for addressbook handling (#1488013)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcmail.php

    r4981 r4987  
    387387    $abook_type  = strtolower($this->config->get('address_book_type')); 
    388388 
     389    // 'sql' is the alias for '0' used by autocomplete 
     390    if ($id == 'sql') 
     391        $id = '0'; 
     392 
    389393    // use existing instance 
    390394    if (isset($this->address_books[$id]) && is_a($this->address_books[$id], 'rcube_addressbook') && (!$writeable || !$this->address_books[$id]->readonly)) { 
Note: See TracChangeset for help on using the changeset viewer.