diff options
author | Arthur <arthur@hoa.ro> | 2015-11-22 17:32:17 +0100 |
---|---|---|
committer | Arthur <arthur@hoa.ro> | 2015-11-22 17:32:17 +0100 |
commit | da08b65de18aec252347f954c7560377cd8ea742 (patch) | |
tree | 40ecb3ecd7f95ad2885a215397dab4205b46b1bc /index.php | |
parent | a5dd1772bd17090e502eb8d117cf4efeed524b1e (diff) | |
parent | e4b9a7633d5eb325e2ae3a098417d5e1d5609852 (diff) | |
download | Shaarli-da08b65de18aec252347f954c7560377cd8ea742.tar.gz Shaarli-da08b65de18aec252347f954c7560377cd8ea742.tar.zst Shaarli-da08b65de18aec252347f954c7560377cd8ea742.zip |
Merge pull request #385 from ArthurHoaro/plugins-error-fix
Bugfix: do not store plugin errors in data.php
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -679,8 +679,8 @@ class pageBuilder | |||
679 | $this->tpl->assign('pagetitle', $GLOBALS['pagetitle']); | 679 | $this->tpl->assign('pagetitle', $GLOBALS['pagetitle']); |
680 | } | 680 | } |
681 | $this->tpl->assign('shaarlititle', empty($GLOBALS['title']) ? 'Shaarli': $GLOBALS['title']); | 681 | $this->tpl->assign('shaarlititle', empty($GLOBALS['title']) ? 'Shaarli': $GLOBALS['title']); |
682 | if (!empty($GLOBALS['plugins']['errors'])) { | 682 | if (!empty($GLOBALS['plugin_errors'])) { |
683 | $this->tpl->assign('plugin_errors', $GLOBALS['plugins']['errors']); | 683 | $this->tpl->assign('plugin_errors', $GLOBALS['plugin_errors']); |
684 | } | 684 | } |
685 | } | 685 | } |
686 | 686 | ||