Merged in luisfernandosl/processmaker/BUG-357 (pull request #851)

BUG 357 "PHP Notice en pm3." SOLVED
This commit is contained in:
Julio Cesar Laura Avendaño
2014-10-02 18:41:16 -04:00

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;