r4227 bugfix: #394: Can't add object throw "Same type, same tags"
[racktables] / wwwroot / inc / ophandlers.php
index 0bd3f86..ca16956 100644 (file)
@@ -1242,7 +1242,7 @@ function addLotOfObjects()
                                $names2[] = rtrim ($parts[0]);
                }
                foreach ($names2 as $name)
                                $names2[] = rtrim ($parts[0]);
                }
                foreach ($names2 as $name)
-                       if (($object_id = commitAddObject ($name, '', '', $global_type_id, '', $taglist)) !== FALSE)
+                       if (($object_id = commitAddObject ($name, '', $global_type_id, '', $taglist)) !== FALSE)
                        {
                                $info = spotEntity ('object', $object_id);
                                amplifyCell ($info);
                        {
                                $info = spotEntity ('object', $object_id);
                                amplifyCell ($info);