We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc7ee14 commit f817c77Copy full SHA for f817c77
library/Vspheredb/Web/Form/MonitoringConnectionForm.php
@@ -229,8 +229,8 @@ public function onSuccess()
229
Notification::success($this->translate('Monitoring Integration has been modified'));
230
} else {
231
$priority = (int) $db->fetchOne(
232
- $db->select()->from('monitoring_connection', 'MAX(priority)')
233
- ) + 1;
+ $db->select()->from('monitoring_connection', 'MAX(priority)')
+ ) + 1;
234
$db->insert('monitoring_connection', $values + [
235
'priority' => $priority,
236
]);
0 commit comments