Commit 71c831dd authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Merge branch '1.0.18-fixes'

Showing with 4 additions and 4 deletions
+4 -4
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<type>entry</type> <type>entry</type>
<image>geticon.php?context=actions&amp;icon=process-stop&amp;size=16</image> <image>geticon.php?context=actions&amp;icon=process-stop&amp;size=16</image>
<label>Abort</label> <label>Abort</label>
</action> </action>
<action> <action>
<type>separator</type> <type>separator</type>
......
...@@ -427,7 +427,7 @@ class mailMethod ...@@ -427,7 +427,7 @@ class mailMethod
This function is mainly used to read and write folder permissions. This function is mainly used to read and write folder permissions.
@return String A valid folder id @return String A valid folder id
*/ */
public function create_folder_id($folder, $type = "") public function create_folder_id($folder)
{ {
if (!empty($folder)) { if (!empty($folder)) {
$folder = trim(preg_replace("/^INBOX[\.\/]*/i", "", $folder)); $folder = trim(preg_replace("/^INBOX[\.\/]*/i", "", $folder));
......
...@@ -176,11 +176,11 @@ class etablissement extends simplePlugin ...@@ -176,11 +176,11 @@ class etablissement extends simplePlugin
} }
} }
$root_mode = 'add'; $root_mode = 'add';
} else if (($root_code !== FALSE) && ($root_code == $this->supannEtablissement) && $this->set_root) { } elseif (($root_code !== FALSE) && ($root_code == $this->supannEtablissement) && $this->set_root) {
/* We are the root etablissement, we need to update it */ /* We are the root etablissement, we need to update it */
$root_attrs = $this->attrs; $root_attrs = $this->attrs;
$root_mode = 'modify'; $root_mode = 'modify';
} else if (($root_code !== FALSE) && ($root_code == $this->supannEtablissement) && !$this->set_root) { } elseif (($root_code !== FALSE) && ($root_code == $this->supannEtablissement) && !$this->set_root) {
/* We are the root etablissement, we want to delete it */ /* We are the root etablissement, we want to delete it */
$root_mode = 'delete'; $root_mode = 'delete';
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment