Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.1
-
None
-
CentOS 5.5, httpd-2.2.15, php-5.2.14
Description
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";
-