mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-01-12 00:10:12 +01:00
health page fix
This commit is contained in:
parent
2da754a7de
commit
c336bc3b5b
@ -197,7 +197,7 @@ class ModelHealthHealth extends Model {
|
||||
public function get_first_email_arrival_ts() {
|
||||
$query = $this->db->query("SELECT `arrived` FROM " . TABLE_META . " ORDER BY id ASC LIMIT 1");
|
||||
|
||||
if(isset($query->row)) { return $query->row['arrived']; }
|
||||
if(isset($query->row['arrived'])) { return $query->row['arrived']; }
|
||||
|
||||
return time();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user