summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module.php b/app/Module.php
index 60c11ae03c..f260e99043 100644
--- a/app/Module.php
+++ b/app/Module.php
@@ -439,7 +439,7 @@ class Module
if ($module instanceof ModuleInterface) {
$modules[$module->getName()] = $module;
- $exists = DB::table('module')->where('module_name', '=' . $module->getName())->pluck('module_name')->isNotEmpty();
+ $exists = DB::table('module')->where('module_name', '=', $module->getName())->pluck('module_name')->isNotEmpty();
if (!$exists) {
DB::table('module')->insert([