X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=e2592045082cb5c1a573cfc9ce6027a87a128d7e;hb=refs%2Fpull%2F398%2Fhead;hp=d26c0c1e3c9b75c69d6b804c54bb3a04f19290ef;hpb=b6a54537b8823d2b96e9bdb64e280959d6681c36;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index d26c0c1e..e2592045 100644 --- a/index.php +++ b/index.php @@ -643,9 +643,11 @@ class pageBuilder $GLOBALS['config']['UPDATECHECK_BRANCH'] ); $this->tpl->assign('newVersion', escape($version)); + $this->tpl->assign('versionError', ''); } catch (Exception $exc) { logm($exc->getMessage()); + $this->tpl->assign('newVersion', ''); $this->tpl->assign('versionError', escape($exc->getMessage())); }