r1695 + renderObjectGroup(): don't expect the key as argument, fetch it from the...
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 21 Feb 2008 12:12:45 +0000 (12:12 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 21 Feb 2008 12:12:45 +0000 (12:12 +0000)
inc/interface.php

index de718da95667269fae01003458d2add4b84235c7..82aaf48a43b54b8cc3f08aeee606ae874677db50 100644 (file)
@@ -1466,9 +1466,11 @@ function renderObjectGroupSummary ()
        echo "</td></tr></table>\n";
 }
 
-function renderObjectGroup ($group_id = 0)
+function renderObjectGroup ()
 {
        global $root;
+       assertUIntArg ('group_id');
+       $group_id = $_REQUEST['group_id'];
        $summary = getObjectGroupInfo();
        if ($summary == NULL)
        {