diff --git a/src/App/ModuleManager.php b/src/App/ModuleManager.php index a3152d5..1c2f949 100644 --- a/src/App/ModuleManager.php +++ b/src/App/ModuleManager.php @@ -244,12 +244,13 @@ final class ModuleManager $stmt = $this->basePdo->prepare( "INSERT INTO nexus_modules (name, title, version, enabled, installed_at, updated_at) - VALUES (:name, :title, :version, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP)" + VALUES (:name, :title, :version, :enabled, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP)" ); $stmt->execute([ 'name' => $name, 'title' => (string)$module['title'], 'version' => (string)$module['version'], + 'enabled' => false, ]); return false; }