-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 15
-
Fix Version/s: 15
-
Component/s: Call Flow Control
-
Labels:
-
ToDo:
-
Module Fix Version:
When running a PUT request for the daynight module, the response comes back asĀ
{
"error": {
"type": "Whoops\\Exception\\ErrorException",
"message": "Class 'FreePBX\\modules\\Daynight\\Api\\Rest\\dayNightObject' not found",
"file": "\/var\/www\/html\/admin\/modules\/daynight\/Api\/Rest\/Daynight.php",
"line": 45
}
}
due to the backslash character missing when calling
new dayNightObject($args['id']);
on line 45 of /Api/Rest/Daynight.php
I created a pull request to fix it here: https://github.com/FreePBX/daynight/pull/2