[ https://issues.apache.org/jira/browse/VCL-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Thompson resolved VCL-456. ------------------------------- Resolution: Fixed > groupwasnone variable is not properly initialized > ------------------------------------------------- > > Key: VCL-456 > URL: https://issues.apache.org/jira/browse/VCL-456 > Project: VCL > Issue Type: Bug > Components: web gui (frontend) > Affects Versions: 2.2.1 > Environment: CentOS 5.5, httpd-2.2.15, php-5.2.14 > Reporter: Shoji Kajita > Fix For: 2.3 > > Attachments: groupwasnone-bug.png > > > In .ht-inc/groups.php, $groupwasnone is not properly initialized and it > causes undef error as seen in attached screenshot. The workaround would be > something like this: > ----- > diff -cb /cloud/apache2/htdocs/vcl/.ht-inc/groups.php.20110420 > /cloud/apache2/htdocs/vcl/.ht-inc/groups.php > *** /cloud/apache2/htdocs/vcl/.ht-inc/groups.php.20110420 2011-04-20 > 06:24:17.000000000 +0900 > --- /cloud/apache2/htdocs/vcl/.ht-inc/groups.php 2011-04-20 > 06:24:33.000000000 +0900 > *************** > *** 401,406 **** > --- 401,407 ---- > printSubmitErr(GRPNAMEERR); > print "</TD>\n"; > print " </TR>\n"; > + $groupwasnone = 0; > if($data["type"] == "user") { > print " <TR>\n"; > print " <TH align=right>Owner:</TH>\n"; -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira