Skip to content

Commit

Permalink
[#56] Fixes user query warning
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuapease committed Sep 20, 2022
1 parent df4d0ab commit cb8b0a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public function bootstrap($app)

// Always turn on the debug bar and field handles in dev environment (for logged in users)
Event::on(
Plugins::class,
Plugins::EVENT_AFTER_LOAD_PLUGINS,
CraftWebApplication::class,
CraftWebApplication::EVENT_INIT,
function (Event $event) {
if (
Craft::$app->env === 'dev' &&
Expand Down

0 comments on commit cb8b0a1

Please sign in to comment.