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
|
@ -407,12 +407,6 @@ class kolab_addressbook extends rcube_plugin
|
|||
{
|
||||
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'];
|
||||
}
|
||||
|
||||
$folder = kolab_storage::get_folder($id);
|
||||
|
||||
// try with unencoded (old-style) identifier
|
||||
|
|
Loading…
Add table
Reference in a new issue