mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
API Calls codeception
Fixed translations
This commit is contained in:
@@ -32,7 +32,7 @@ class Course extends REST_Controller
|
||||
{
|
||||
$result = $this->CourseModel->getEnabledCourses();
|
||||
|
||||
if(is_object($result))
|
||||
if(is_object($result) && $result->num_rows() > 0)
|
||||
{
|
||||
$payload = [
|
||||
'success' => TRUE,
|
||||
|
||||
Reference in New Issue
Block a user