Small change in Video model

This commit is contained in:
DariusIII
2019-01-25 14:56:27 +01:00
parent 086aefa925
commit ecbd8cbebe
2 changed files with 3 additions and 4 deletions
+2 -4
View File
@@ -145,10 +145,8 @@ class Video extends Model
*/
public static function getSeriesList($uid, $letter = '', $showname = ''): array
{
if ($letter !== '') {
if ($letter === '0-9') {
$letter = '[0-9]';
}
if (($letter !== '') && $letter === '0-9') {
$letter = '[0-9]';
}
$qry = self::query()