From 64798a99de41c6f4a3ce24379afe124d323ace5b Mon Sep 17 00:00:00 2001 From: James Finstrom Date: Mon, 2 May 2016 14:27:00 -0700 Subject: [PATCH] FREEPBX-12210 Check that variable is set --- sources/source-Herold_Austria.module | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/source-Herold_Austria.module b/sources/source-Herold_Austria.module index 1acc4d80..02bbad91 100644 --- a/sources/source-Herold_Austria.module +++ b/sources/source-Herold_Austria.module @@ -51,6 +51,7 @@ class Herold_Austria extends superfecta_base { if (!$caller_id && $this->SearchURL($bus_url, $regexp, $match)) { $caller_id = $this->ExtractMatch($match); } + $caller_id = isset($caller_id)?$caller_id:''; return($caller_id); } }