r1749 + addAddressToObject(): adjust assertion
authorDenis Ovsienko <infrastation@yandex.ru>
Sat, 1 Mar 2008 14:25:40 +0000 (14:25 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sat, 1 Mar 2008 14:25:40 +0000 (14:25 +0000)
inc/ophandlers.php

index c7f524936c3178437c892a686daf2a1ed9b1681b..de0e0a8a3641b108eace2a82b69770445ac24ccc 100644 (file)
@@ -498,7 +498,7 @@ function addAddressToObject ()
 {
        global $root, $pageno, $tabno;
 
-       assertIPv4Arg ('ip');
+       assertStringArg ('ip');
        assertUIntArg ('object_id');
        assertStringArg ('name', TRUE);
        assertStringArg ('type');