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

problem with conditional in editOrAddComputer - $data['compid'] can be used when adding a computer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.2
    • 2.4
    • web gui (frontend)
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jfthomps Josh Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: