Author: jfthomps
Date: Wed Jun  1 16:02:20 2016
New Revision: 1746482

URL: http://svn.apache.org/viewvc?rev=1746482&view=rev
Log:
VCL-872 - Computer notes not saved when changing state from vmhostinuse to 
maintenance

computer.php: modified AJsubmitCompStateChange: added $changenow to arrays 
merged together to make $comparr in conditional that checks to see if new state 
is maintenance and if there are any computers in $changeasap, $noaction, or 
$changenow

Modified:
    vcl/trunk/web/.ht-inc/computer.php

Modified: vcl/trunk/web/.ht-inc/computer.php
URL: 
http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/computer.php?rev=1746482&r1=1746481&r2=1746482&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/computer.php (original)
+++ vcl/trunk/web/.ht-inc/computer.php Wed Jun  1 16:02:20 2016
@@ -3767,7 +3767,7 @@ class Computer extends Resource {
                                cleanSemaphore();
                        }
                        if($newstateid == 10 && (count($noaction) || 
count($changeasap) || count($changenow))) {
-                               $comparr = array_merge($noaction, $changeasap);
+                               $comparr = array_merge($noaction, $changeasap, 
$changenow);
                                $allids = implode(',', $comparr);
                                if(count($vmwithhost))
                                        $skipids = implode(',', $vmwithhost);


Reply via email to