Skip to content

Commit

Permalink
Fixed a bug where custom fields weren't working
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Oct 25, 2016
1 parent 09e0934 commit 253e97f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/base/ApplicationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -1227,12 +1227,13 @@ private function _init()
// Set the timezone
$this->_setTimeZone();

// Set the language
$this->_setLanguage();

// Load the plugins
// (this has to happen before setting the language, so plugin class aliases are registered in time)
$this->getPlugins()->loadPlugins();

// Set the language
$this->_setLanguage();

// Fire an 'afterInit' event
$this->trigger(WebApplication::EVENT_AFTER_INIT);
}
Expand Down

0 comments on commit 253e97f

Please sign in to comment.