mirror of
https://bitbucket.org/jsuto/piler.git
synced 2026-10-01 13:00:20 +02:00
health page fix
This commit is contained in:
1 parent
2da754a7de
commit
c336bc3b5b
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user