Code style adjustments

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

No files matched your search

+2 -2
View File
@@ -288,7 +288,7 @@ class Employee extends Person
// 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);
@@ -422,7 +422,7 @@ class Employee extends Person
$row = $this->db->get()->row();
// If no grants are assigned yet then set the default to 'home'
if ($row == NULL)
if($row == NULL)
{
return 'home';
}