You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2010/10/28 19:09:32 UTC
svn commit: r1028387 - /incubator/vcl/trunk/web/.ht-inc/requests.php
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) {