mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 09:22:22 +00:00
Adaptions for Apacheconfirmity
This commit is contained in:
@@ -27,7 +27,11 @@ class Favorites extends FHC_Controller
|
||||
return $this->outputJson(getError($result));
|
||||
}
|
||||
|
||||
$this->outputJson(getData($result)['stv_favorites']);
|
||||
$result = getData($result);
|
||||
if (!$result)
|
||||
$this->outputJson(null);
|
||||
else
|
||||
$this->outputJson($result['stv_favorites']);
|
||||
}
|
||||
|
||||
public function set()
|
||||
|
||||
Reference in New Issue
Block a user