Update Modules.php

This commit is contained in:
Bozhidar 2024-04-26 22:09:56 +03:00
parent 8713735445
commit bf8bbf32c4

View file

@ -74,8 +74,8 @@ class Modules extends Page
if (Str::contains($this->installLog, 'Done')) {
$this->installLogPulling = false;
$newModule = new Module();
$newModule->name = $module;
$newModule->namespace = 'Modules\\' . $module;
$newModule->name = $this->installModule;
$newModule->namespace = 'Modules\\' . $this->installModule;
$newModule->installed = 1;
$newModule->save();