dbError is supposed to take the sql that caused the error. So pass something to satisfy php
This commit is contained in:
parent
7ed76b5677
commit
1f04723f3a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue