Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-456

groupwasnone variable is not properly initialized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2, 2.3
    • web gui (frontend)
    • 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";

      Attachments

        1. groupwasnone-bug.png
          103 kB
          Shoji Kajita

        Activity

          People

            Unassigned Unassigned
            kajita Shoji Kajita
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: