mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-14 12:02:37 -04:00
Code style adjustments
This commit is contained in:
@@ -139,7 +139,7 @@ class Expense extends CI_Model
|
||||
// get_found_rows case
|
||||
if($count_only == TRUE)
|
||||
{
|
||||
return $this->db->get()->row_array()['count'];
|
||||
return $this->db->get()->row()->count;
|
||||
}
|
||||
|
||||
$this->db->group_by('expense_id');
|
||||
|
||||
Reference in New Issue
Block a user