This commit is contained in:
2026-03-04 23:30:31 +01:00
parent 36dc35325e
commit c565bc6b57

View File

@@ -244,12 +244,13 @@ final class ModuleManager
$stmt = $this->basePdo->prepare( $stmt = $this->basePdo->prepare(
"INSERT INTO nexus_modules (name, title, version, enabled, installed_at, updated_at) "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([ $stmt->execute([
'name' => $name, 'name' => $name,
'title' => (string)$module['title'], 'title' => (string)$module['title'],
'version' => (string)$module['version'], 'version' => (string)$module['version'],
'enabled' => false,
]); ]);
return false; return false;
} }