mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 10:49:37 +02:00
Fix Scrutinizer reported errors
This commit is contained in:
parent
4a2d7b97f6
commit
80cd08ed04
29 changed files with 117 additions and 92 deletions
|
@ -38,7 +38,7 @@ switch ($_REQUEST['action']) {
|
|||
}
|
||||
break;
|
||||
case 'random_videos':
|
||||
$videos = Video::get_random(6, true);
|
||||
$videos = Video::get_random(6);
|
||||
if (count($videos) AND is_array($videos)) {
|
||||
ob_start();
|
||||
require_once AmpConfig::get('prefix') . '/templates/show_random_videos.inc.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue