mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix correct check for empty date
This commit is contained in:
@@ -3718,7 +3718,7 @@ class Logbook_model extends CI_Model {
|
||||
$query = $this->db->query($sql);
|
||||
$row = $query->row();
|
||||
|
||||
if (isset($row)) {
|
||||
if ($row->MAXDATE != null) {
|
||||
return $row->MAXDATE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user