This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-06-30 15:15:58 -04:00
parent 6f1443bca1
commit ab866e5779
3 changed files with 12 additions and 1 deletions

View File

@@ -350,6 +350,10 @@ class WebEntryEvent
if (!empty($arrayData["USR_UID"])) {
$process->throwExceptionIfNotExistsUser($arrayData["USR_UID"], $this->arrayFieldNameForException["userUid"]);
}
if ($arrayData["WE_CALLBACK"] === "CUSTOM" && empty($arrayData["WE_CALLBACK_URL"])) {
throw new \Exception(\G::LoadTranslation("ENTER_VALID_URL"));
}
} catch (\Exception $e) {
throw $e;
}