Skip to content

Commit

Permalink
Update Itindata_model.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed May 27, 2024
1 parent e93dac8 commit b0a9b32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/models/Itindata_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ public function get_inspectionsfull($where=null)
foreach ($where as $field => $value):
$q .= $field." = ".$value;
endforeach;
}
} else {
$q .= " ORDER BY k.date_inspection DESC";
}
$query = $this->db->query($q);
if ($query -> num_rows() > 0) {
foreach ($query->result() as $row) {
Expand Down

0 comments on commit b0a9b32

Please sign in to comment.