dbError is supposed to take the sql that caused the error. So pass something to satisfy php
parent
90e3345440
commit
1b3e0eda13
|
@ -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