PM-1375 "En el Case Tracker no se visualizan los formularios" SOLVED

> Code Isuue:
  En el Case Tracker no se visualizan los formularios
> Solution:
  Se realiza validacion al mostrar los Dynaforms del Case Tracker
This commit is contained in:
Luis Fernando Saisa Lopez
2015-07-20 18:18:07 -04:00
parent a5f64108e4
commit db6e25db4b

View File

@@ -69,7 +69,11 @@ class pmDynaform
public function getCredentials()
{
if (!isset($_SESSION['USER_LOGGED'])) {
return;
if (!preg_match("/^.*\/" . SYS_SKIN . "\/tracker\/.*$/", $_SERVER["REQUEST_URI"])) {
return;
}
$_SESSION["USER_LOGGED"] = "00000000000000000000000000000001";
}
if ($this->credentials != null) {
return $this->credentials;
@@ -163,7 +167,7 @@ class pmDynaform
array_push($json->options, $option);
}
} catch (Exception $e) {
}
}
if (isset($json->options[0])) {