Fix code style issue
authorMatthias Schmidt <gravatronics@live.com>
Sun, 23 Jul 2017 09:19:50 +0000 (11:19 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 23 Jul 2017 09:19:50 +0000 (11:19 +0200)
See #2350

wcfsetup/install/files/lib/data/devtools/project/DevtoolsProjectAction.class.php

index 67735aae31c3bae4c6b068ef18ae2b4806c0f5ae..cd0fd01a50c00dd6443ab9abeaf38daa30316e54 100644 (file)
@@ -106,7 +106,7 @@ class DevtoolsProjectAction extends AbstractDatabaseObjectAction {
                        
                        $iteration = 1;
                        while (in_array($name, $projectNames)) {
-                               $name = $directory . ' (' . $iteration++ . ')';
+                               $name = $directory . ' (' . ($iteration++) . ')';
                        }
                        
                        (new DevtoolsProjectAction([], 'create', ['data' => [