From 2c99dd7557696f984605ded8db512d2b388260c2 Mon Sep 17 00:00:00 2001 From: William Mortada Date: Thu, 26 Oct 2017 13:50:16 +0100 Subject: [PATCH] Ensure that $docLink is defined --- install/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/index.php b/install/index.php index 5774078cc5..41751b624e 100644 --- a/install/index.php +++ b/install/index.php @@ -1846,6 +1846,9 @@ function errorDisplayPage($errorTitle, $errorMsg, $showRefer = TRUE) { if (is_callable(array('CRM_Utils_System', 'docURL2'))) { $docLink = CRM_Utils_System::docURL2('Installation and Upgrades', FALSE, 'Installation Guide', NULL, NULL, "wiki"); } + else { + $docLink = ''; + } if (function_exists('ts')) { $errorMsg .= '

' . ts("Refer to the online documentation for more information: ") . $docLink . '

'; -- 2.25.1