Skip to content

Commit

Permalink
Merge pull request #1407 from Raruto/entries-fix
Browse files Browse the repository at this point in the history
Fix "Forms::entries" throws undefined "getform" method in "MongoHybrid\MongoLite"
  • Loading branch information
aheinze authored Jan 27, 2021
2 parents 722393b + 6505014 commit 28d724e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Forms/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@

$form = $forms['_id'];

return $this->app->storage->getform("forms/{$form}");
return $this->app->storage->getCollection("forms/{$form}");
},

'find' => function($form, $options = []) {
Expand Down

0 comments on commit 28d724e

Please sign in to comment.