Created development branch for release 1.5.0
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
writeupdetail.php
|
||||
OpenDRS Online Discrepancy Reporting System
|
||||
Copyright (C) 2026 Rod Wright
|
||||
Copyright (C) 2025 Rod Wright
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
@@ -97,6 +97,9 @@ framework("begin","$appname","Writeup Detail",$print);
|
||||
|
||||
// ******** begin database manipulation ********
|
||||
|
||||
// determine today's date and make it the default
|
||||
$today=date("Y-m-d");
|
||||
$now=date("H:i:s");
|
||||
|
||||
if ($usersave) {
|
||||
// user parameters
|
||||
@@ -143,7 +146,6 @@ elseif ($techsave) {
|
||||
$clean_action_text=mysqli_real_escape_string($drs_db,$action_text);
|
||||
|
||||
// update the record in writeups
|
||||
if ($action_reason=='') $action_reason=0;
|
||||
mysqli_query($drs_db,"update writeups set status=\"$status\",action_by=\"$action_by\",action_date=\"$action_date\",action_time=\"$action_time\",action_reason=\"$action_reason\",action_text=\"$clean_action_text\" where id=\"$id\"");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user