diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-06-16 18:11:57 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-06-16 18:11:57 -0400 |
commit | ab2072983b4f35c0495f920409f0f5bf5c75ee27 (patch) | |
tree | a5799d4a0a98f52775a08a10bd6853c4d3076b77 /engine/lib | |
parent | b06fec41d7f0e4b998dc6753a3d4c50b16621000 (diff) | |
download | elgg-ab2072983b4f35c0495f920409f0f5bf5c75ee27.tar.gz elgg-ab2072983b4f35c0495f920409f0f5bf5c75ee27.tar.bz2 |
Fixes #3684 prevent pagesetup, system event from firing during the init, system event
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/views.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index 1b013be6f..c98ad4e78 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -403,7 +403,7 @@ function elgg_view($view, $vars = array(), $bypass = false, $debug = false, $vie $view_orig = $view; // Trigger the pagesetup event - if (!isset($CONFIG->pagesetupdone)) { + if (!isset($CONFIG->pagesetupdone) && $CONFIG->boot_complete) { $CONFIG->pagesetupdone = true; elgg_trigger_event('pagesetup', 'system'); } |