Fixed mis-pasted code.

This commit is contained in:
baldo 2016-06-25 20:45:19 +02:00
parent 9b540e03a2
commit 5ac54f2a0d

View file

@ -267,7 +267,7 @@ angular.module('ffffng')
var now = moment().unix();
Database.run(
'UPDATE node_state ' +
'SET modified_at = ?, (last_status_mail_sent = ?, last_status_mail_type = OR last_status_mail_type IS NULL)?' +
'SET modified_at = ?, last_status_mail_sent = ?, last_status_mail_type = ?' +
'WHERE id = ?',
[
now, now, mailType,