[NETAPI32]
authorEric Kohl <eric.kohl@reactos.org>
Mon, 2 Sep 2013 21:10:46 +0000 (21:10 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Mon, 2 Sep 2013 21:10:46 +0000 (21:10 +0000)
Revert r59958 because the old code was correct.

svn path=/trunk/; revision=59966

reactos/dll/win32/netapi32/local_group.c

index 6cdfce1..9f49f50 100644 (file)
@@ -447,7 +447,7 @@ NetLocalGroupAdd(
     TRACE("Created alias \"%wZ\" (RID: %lu)\n", &AliasName, RelativeId);
 
     /* Set the admin comment */
     TRACE("Created alias \"%wZ\" (RID: %lu)\n", &AliasName, RelativeId);
 
     /* Set the admin comment */
-    if (aliascomment != NULL)
+    if (level == 1)
     {
         RtlInitUnicodeString(&AdminComment.AdminComment, aliascomment);
 
     {
         RtlInitUnicodeString(&AdminComment.AdminComment, aliascomment);