Prepare combo list reload with revisions and fix box/storage in webgui

This commit is contained in:
thooge committed 2026-10-18 10:35:35 +02:00
1 parent ee947b772f
commit aee50ecb4f
17 files changed
+128 -43

No files matched your search

+2 -1
View File
@@ -49,6 +49,7 @@ switch ($submit = form_get_action()) {
$p[':model'] = gpc_get_string($_POST, 'model');
$p[':remarks'] = gpc_get_string($_POST, 'remarks', 150);
$id = db_exec_insert('vessel', $p);
db_set_revision('table', TBL_VESSEL);
// autoselect newly created vessel
$sql = "UPDATE settings SET valint=? WHERE userid=? AND sno=1";
$sth = $pdo->prepare($sql);
@@ -179,7 +180,7 @@ if ($vessel->shipyard && $vessel->shipyard > 0) {
}
if (strlen($vessel->remarks) > 0) {
echo h($vessel->remarks, br:true);
echo ' ', h($vessel->remarks, br:true);
}
echo "</div>\n";
echo "</div>\n"; // row 2