New field "publish" for channels
This commit is contained in:
@@ -2128,12 +2128,11 @@ class Item
|
||||
}
|
||||
}
|
||||
|
||||
$result = self::compactLanguages($result);
|
||||
if (empty($result)) {
|
||||
return $default;
|
||||
}
|
||||
|
||||
$result = self::compactLanguages($result);
|
||||
|
||||
arsort($result);
|
||||
return array_slice($result, 0, $count);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user