mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
Renamed variable
This commit is contained in:
parent
90c8ca157d
commit
40cf6cab40
1 changed files with 2 additions and 2 deletions
|
@ -49,9 +49,9 @@ class Categories extends API_V1_Controller {
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$conditions = $id !== NULL ? ['id' => $id] : NULL;
|
$where = $id !== NULL ? ['id' => $id] : NULL;
|
||||||
|
|
||||||
$categories = $this->services_model->get_all_categories($conditions);
|
$categories = $this->services_model->get_all_categories($where);
|
||||||
|
|
||||||
if ($id !== NULL && count($categories) === 0)
|
if ($id !== NULL && count($categories) === 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue