diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -643,9 +643,11 @@ class pageBuilder | |||
643 | $GLOBALS['config']['UPDATECHECK_BRANCH'] | 643 | $GLOBALS['config']['UPDATECHECK_BRANCH'] |
644 | ); | 644 | ); |
645 | $this->tpl->assign('newVersion', escape($version)); | 645 | $this->tpl->assign('newVersion', escape($version)); |
646 | $this->tpl->assign('versionError', ''); | ||
646 | 647 | ||
647 | } catch (Exception $exc) { | 648 | } catch (Exception $exc) { |
648 | logm($exc->getMessage()); | 649 | logm($exc->getMessage()); |
650 | $this->tpl->assign('newVersion', ''); | ||
649 | $this->tpl->assign('versionError', escape($exc->getMessage())); | 651 | $this->tpl->assign('versionError', escape($exc->getMessage())); |
650 | } | 652 | } |
651 | 653 | ||