Commit 2c99dd75 authored by wmortada's avatar wmortada

Ensure that $docLink is defined

parent e0b29e26
......@@ -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 .= '<p>' . ts("Refer to the online documentation for more information: ") . $docLink . '</p>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment