From 24f24dbf391eb025ab56193d0170f2f2c2aea586 Mon Sep 17 00:00:00 2001 From: Luis Fernando Saisa Lopez Date: Thu, 2 Oct 2014 17:27:26 -0400 Subject: [PATCH] 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. --- framework/src/Maveriks/WebApplication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Maveriks/WebApplication.php b/framework/src/Maveriks/WebApplication.php index 94e8cdfe8..d72b62d15 100644 --- a/framework/src/Maveriks/WebApplication.php +++ b/framework/src/Maveriks/WebApplication.php @@ -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;