Index: trunk/extensions/OpenStackManager/special/SpecialNovaSecurityGroup.php |
— | — | @@ -338,12 +338,14 @@ |
339 | 339 | return false; |
340 | 340 | } |
341 | 341 | $group_keys = array(); |
| 342 | + $info = array(); |
342 | 343 | $securityGroups = $this->adminNova->getSecurityGroups(); |
343 | 344 | foreach ( $securityGroups as $securityGroup ) { |
344 | 345 | $securityGroupName = $securityGroup->getGroupName(); |
345 | 346 | $securityGroupProject = $securityGroup->getOwner(); |
346 | | - $group_keys["$securityGroupName"] = $securityGroupName . ':' . $securityGroupProject; |
| 347 | + $info["$securityGroupProject"]["$securityGroupName"] = $securityGroupName . ':' . $securityGroupProject; |
347 | 348 | } |
| 349 | + $group_keys = $info; |
348 | 350 | $securitygroupname = $wgRequest->getText( 'groupname' ); |
349 | 351 | $securityGroupInfo = array(); |
350 | 352 | $securityGroupInfo['groupname'] = array( |