Use output of userCheck if it passes the json check

This commit is contained in:
DariusIII
2019-04-05 13:19:05 +02:00
parent f64915f421
commit a2f75488b1
3 changed files with 32 additions and 7 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ class MyShowsController extends BasePageController
$results = [];
foreach ($shows as $showk => $show) {
$showcats = explode('|', $show['categories']);
if (\is_array($showcats) && \count($showcats) > 0) {
if (\is_array($showcats) && ! empty($showcats)) {
$catarr = [];
foreach ($showcats as $scat) {
if (! empty($scat)) {