-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.0.12, 5.2.6, 5.4.1, 6.0.0alpha1
-
Sprint 77 (Jun 2021), Sprint 78 (Jul 2021)
-
0.125
Steps to reproduce:
- Create a host with at least one tag.
- Make API request to host.get and specify selectTags query option to retrieve a tag only: selectTags = ['tag'].
Result:
- PHP Notice: Undefined index: value in C:\WebDev\Sites\n3022\ui\include\classes\api\services\CHostGeneral.php on line 858
- value = NULL returned by API.
Expected:
- No PHP errors reported.
- Only a tag property returned by API.