Fix for bug 2007

This commit is contained in:
Ludovic Marcotte
2013-09-30 10:50:27 -04:00
parent 3cce9b2012
commit 05990e9a14
6 changed files with 54 additions and 46 deletions
+1 -4
View File
@@ -1,9 +1,6 @@
/* NSString+Utilities.h - this file is part of SOGo
*
* Copyright (C) 2006-2011 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Ludovic Marcotte <lmarcotte@inverse.ca>
* Copyright (C) 2006-2013 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
-3
View File
@@ -2,9 +2,6 @@
*
* Copyright (C) 2006-2013 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Ludovic Marcotte <lmarcotte@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
+5 -1
View File
@@ -364,7 +364,11 @@ static SoSecurityManager *sm = nil;
NSString *newFolderID;
NSException *error;
newFolderID = [self globallyUniqueObjectId];
newFolderID = *newNameInContainer;
if (!newFolderID)
newFolderID = [self globallyUniqueObjectId];
error = [self newFolderWithName: name
andNameInContainer: newFolderID];
if (error)