plugins/libkolab
Aleksander Machniak
machniak at kolabsys.com
Thu Oct 31 09:06:45 CET 2013
plugins/libkolab/lib/kolab_storage_folder.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5f3c4106a4f43bac0d266b489e467a9d38bddc5e
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Thu Oct 31 09:06:24 2013 +0100
Fix undefined variable in set_folder()
diff --git a/plugins/libkolab/lib/kolab_storage_folder.php b/plugins/libkolab/lib/kolab_storage_folder.php
index 80f13fc..aabc130 100644
--- a/plugins/libkolab/lib/kolab_storage_folder.php
+++ b/plugins/libkolab/lib/kolab_storage_folder.php
@@ -74,9 +74,9 @@ class kolab_storage_folder
* @param string The folder name/path
* @param string Optional folder type if known
*/
- public function set_folder($name, $ftype = null)
+ public function set_folder($name, $type = null)
{
- $this->type_annotation = $ftype ? $ftype : kolab_storage::folder_type($name);
+ $this->type_annotation = $type ? $type : kolab_storage::folder_type($name);
$oldtype = $this->type;
list($this->type, $suffix) = explode('.', $this->type_annotation);
More information about the commits
mailing list