Update StatusNotifier.class.php

pull/153/merge^2
mpattman 2014-11-06 12:56:03 +00:00
parent 67dc5ae19f
commit aedc6318c9
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ class StatusNotifier {
$this->server = $this->db->selectRow(PSM_DB_PREFIX . 'servers', array( $this->server = $this->db->selectRow(PSM_DB_PREFIX . 'servers', array(
'server_id' => $server_id, 'server_id' => $server_id,
), array( ), array(
'server_id', 'ip', 'port', 'label', 'type', 'pattern', 'status', 'error', 'active', 'email', 'sms', 'pushover', 'server_id', 'ip', 'port', 'label', 'type', 'pattern', 'status', 'error', 'active', 'email', 'sms', 'pushover', 'last_online', 'last_offline',
)); ));
if(empty($this->server)) { if(empty($this->server)) {
return false; return false;
@ -315,4 +315,4 @@ class StatusNotifier {
"); ");
return $users; return $users;
} }
} }