Author: jfthomps
Date: Thu Oct 28 17:09:32 2010
New Revision: 1028387

URL: http://svn.apache.org/viewvc?rev=1028387&view=rev
Log:
VCL-412
clicking on tomaintenance reload reservation in timetable gives an error

modified viewRequestInfo - set $reservation to $request['reservations'][0] if 
request stateid or laststateid = 18

Modified:
    incubator/vcl/trunk/web/.ht-inc/requests.php

Modified: incubator/vcl/trunk/web/.ht-inc/requests.php
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/requests.php?rev=1028387&r1=1028386&r2=1028387&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/requests.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/requests.php Thu Oct 28 17:09:32 2010
@@ -1235,7 +1235,7 @@ function detailStatusHTML($reqid) {
 function viewRequestInfo() {
        $requestid = getContinuationVar("requestid");
        $request = getRequestInfo($requestid);
-       if($request['forimaging'])
+       if($request['forimaging'] || $request['stateid'] == 18 || 
$request['laststateid'] == 18)
                $reservation = $request['reservations'][0];
        else {
                foreach($request["reservations"] as $res) {


Reply via email to