dbError is supposed to take the sql that caused the error. So pass something to satisfy php

This commit is contained in:
Isaac Connor 2021-09-29 09:31:16 -04:00
parent 7ed76b5677
commit 1f04723f3a
1 changed files with 1 additions and 1 deletions

View File

@ -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