You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Josh Thompson (JIRA)" <ji...@apache.org> on 2013/05/31 16:25:19 UTC

[jira] [Created] (VCL-694) problem with conditional in editOrAddComputer - $data['compid'] can be used when adding a computer

Josh Thompson created VCL-694:
---------------------------------

             Summary: problem with conditional in editOrAddComputer - $data['compid'] can be used when adding a computer
                 Key: VCL-694
                 URL: https://issues.apache.org/jira/browse/VCL-694
             Project: VCL
          Issue Type: Bug
          Components: web gui (frontend)
    Affects Versions: 2.3.2
            Reporter: Josh Thompson
             Fix For: 2.4


Line 765 in computers.php can be hit when adding a computer. $data['compid'] is not set when adding a computer. So, it throws an error. There's probably a problem with the paranthesis where line 765 should be grouped with the "$state == 0" part a few lines above but it currently isn't.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira