r4075 minor fix: bulik port creator now can begin port counter with zero value
authorAlexey Andriyanov <alan@al-an.info>
Wed, 29 Dec 2010 21:13:19 +0000 (21:13 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Wed, 29 Dec 2010 21:13:19 +0000 (21:13 +0000)
inc/ophandlers.php

index 1b48d20..c7b02f1 100644 (file)
@@ -360,7 +360,7 @@ function addBulkPorts ()
        assertStringArg ('port_type_id');
        assertStringArg ('port_name');
        assertStringArg ('port_label', TRUE);
-       assertUIntArg ('port_numbering_start');
+       assertUIntArg ('port_numbering_start', TRUE);
        assertUIntArg ('port_numbering_count');
        
        $object_id = $_REQUEST['object_id'];