Better handling of two cases:

- user not authorized to see a particular request (not hers/his)
- user not authorized to use a service

SVN:trunk[869]
This commit is contained in:
Denis Flaven
2010-09-14 09:17:06 +00:00
parent fed7742b88
commit f4c3f71959

View File

@@ -271,9 +271,8 @@ EOF
}
else
{
echo "<pre>\n";
print_r($aParameters);
echo "</pre>\n";
// User not authorized to use this service ?
DisplayMainMenu($oP);
}
}
@@ -681,7 +680,7 @@ function RequestDetails(WebPage $oP, $id)
$oRequest = FindRequest($id);
if (!is_object($oRequest))
{
echo "Request not found !";
DisplayMainMenu($oP);
return;
}
$iDefaultStep = 0;