mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-05 14:24:05 -04:00
Code style adjustments
This commit is contained in:
@@ -151,7 +151,7 @@ class Expense_category 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->order_by($sort, $order);
|
||||
|
||||
Reference in New Issue
Block a user