aboutsummaryrefslogtreecommitdiff
path: root/admin/tools/edit_database.php
diff options
context:
space:
mode:
authorKablersalat <crt@adastra7.net>2025-02-23 05:00:04 +0100
committerKablersalat <crt@adastra7.net>2025-02-23 05:00:04 +0100
commit1d29d12f235a68c43b0c0acf0d5c8fdb6e4bfeb1 (patch)
treeb48d088bc584b3b2ad0cb64b70cb15289290455f /admin/tools/edit_database.php
parentbbc8f572c668b0b113fdcdd288271972f7c7fec4 (diff)
worst way to fix it but IDs wont break as badly anymoreHEADmaster
Diffstat (limited to 'admin/tools/edit_database.php')
-rw-r--r--admin/tools/edit_database.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/tools/edit_database.php b/admin/tools/edit_database.php
index bc5489a..3d03dbc 100644
--- a/admin/tools/edit_database.php
+++ b/admin/tools/edit_database.php
@@ -249,6 +249,7 @@ if (isset($_POST['reassign_ids'])) {
<input type="text" name="values[<?php echo htmlspecialchars($column); ?>]" disabled>
<?php elseif ($column == 'date'): ?>
<input type="text" name="values[<?php echo htmlspecialchars($column); ?>]" value="<?php echo date('Y-m-d H:i:s'); ?>" disabled>
+ <?php else: ?>
<input type="text" name="values[<?php echo htmlspecialchars($column); ?>]">
<?php endif; ?>
</td>
@@ -337,8 +338,6 @@ if (isset($_POST['reassign_ids'])) {
<input type="text" name="values[<?php echo htmlspecialchars($column); ?>]" disabled>
<?php elseif ($column == 'date'): ?>
<input type="text" name="values[<?php echo htmlspecialchars($column); ?>]" value="<?php echo date('Y-m-d H:i:s'); ?>" disabled>
- <?php elseif ($selectedTable == 'content' && $column == 'custom_html'): ?>
- <input type="text" name="values[<?php echo htmlspecialchars($column); ?>]" value="0">
<?php else: ?>
<input type="text" name="values[<?php echo htmlspecialchars($column); ?>]">
<?php endif; ?>