Skip to content
Snippets Groups Projects
Commit ddafcb06 authored by Jared Hancock's avatar Jared Hancock
Browse files

install: Fixup help tips on installer

parent bb7e85d9
No related branches found
No related tags found
No related merge requests found
......@@ -31,8 +31,9 @@ class HelpTipAjaxAPI extends AjaxController {
// Translate links to the root path of this installation
foreach ($data as $tip=>&$info) {
$info = $ost->replaceTemplateVariables($info, array(
'config'=>$ost->getConfig()));
if ($ost)
$info = $ost->replaceTemplateVariables($info, array(
'config'=>$ost->getConfig()));
if (isset($info['links']))
foreach ($info['links'] as &$l)
if ($l['href'][0] == '/')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment