1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-26 01:11:28 +02:00

Fix fatal error caused by Issue #3304

This commit is contained in:
Cameron
2018-07-24 10:35:35 -07:00
parent 6fc2b340be
commit a2798b096f

View File

@@ -462,9 +462,9 @@ TMPO;
{
$srch = array('[',']');
$repl = array("<a href='http://e107help.org' rel='external'>","</a>");
$message = e107::getParser()->lanVars(e107::getParser()->toHTML(ADLAN_191, true), (str_replace($srch,$repl)));
$message = str_replace($srch,$repl,ADLAN_191);
$message .= "<div class='text-right'><a class='btn btn-xs btn-primary ' href='admin.php?dismiss=upgrade'>".LAN_DONT_SHOW_AGAIN."</a></div>"; //todo do it with class=e-ajax and data-dismiss='alert'
echo e107::getMessage()->setTitle(LAN_UPGRADING',E_MESSAGE_INFO)->addInfo($message)->render();
echo e107::getMessage()->setTitle(LAN_UPGRADING,E_MESSAGE_INFO)->addInfo($message)->render();
}
e107::getMessage()->setTitle(null,E_MESSAGE_INFO);