Code style adjustments

This commit is contained in:
FrancescoUK
2018-04-14 14:40:02 +01:00
parent 5c1baf20b0
commit 4bab3fc4e3
31 changed files with 66 additions and 55 deletions

View File

@@ -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);