BUG 357 "PHP Notice en pm3." SOLVED

- PHP Notice en pm3.
- Problema resuelto, se mejora la validacion existente donde se producia el error en el metodo "route" del
  archivo "WebApplication.php".

  Disponible para la version 2.8 de ProcessMaker.
This commit is contained in:
Luis Fernando Saisa Lopez
2014-10-02 17:27:26 -04:00
parent e6eb308515
commit 24f24dbf39

View File

@@ -112,7 +112,7 @@ class WebApplication
list($this->requestUri,) = explode('?', $this->requestUri);
$uriParts = explode('/', $this->requestUri);
if ($uriParts[2] == 'oauth2') {
if (isset($uriParts[2]) && $uriParts[2] == "oauth2") {
return self::RUNNING_OAUTH2;
} else {
return self::RUNNING_WORKFLOW;