From 1f04723f3a8bc421d8bb13d6762ec963d259d73f Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 29 Sep 2021 09:31:16 -0400 Subject: [PATCH] dbError is supposed to take the sql that caused the error. So pass something to satisfy php --- web/includes/actions/monitor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/actions/monitor.php b/web/includes/actions/monitor.php index 1c6e1f72f..ee041967c 100644 --- a/web/includes/actions/monitor.php +++ b/web/includes/actions/monitor.php @@ -205,7 +205,7 @@ if ( $action == 'save' ) { } // end if changes in width or height } else { global $error_message; - $error_message = dbError(); + $error_message = dbError('unknown'); } // end if successful save $restart = true; } else { // new monitor