Fix error when contacts folder contains non-alphanum chars (Bifrost#T245789)
By removing outdated and redundant check.
This commit is contained in:
parent
bb3f96cc97
commit
84fd1d18aa
1 changed files with 1 additions and 7 deletions
|
@ -406,13 +406,7 @@ class kolab_addressbook extends rcube_plugin
|
|||
public function get_address_book($p)
|
||||
{
|
||||
if ($p['id']) {
|
||||
$id = kolab_storage::id_decode($p['id']);
|
||||
|
||||
// check for falsely base64 decoded identifier
|
||||
if (preg_match('![^A-Za-z0-9=/+&._ -]!', $id)) {
|
||||
$id = $p['id'];
|
||||
}
|
||||
|
||||
$id = kolab_storage::id_decode($p['id']);
|
||||
$folder = kolab_storage::get_folder($id);
|
||||
|
||||
// try with unencoded (old-style) identifier
|
||||
|
|
Loading…
Add table
Reference in a new issue