mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Fix #173. Fix rating. Fix plenty of Warnings.
This commit is contained in:
parent
c174c2b9aa
commit
7e4e12f53b
23 changed files with 258 additions and 178 deletions
|
@ -24,7 +24,10 @@
|
|||
* Sub-Ajax page, requires AJAX_INCLUDE
|
||||
*/
|
||||
require_once '../lib/init.php';
|
||||
session_start();
|
||||
|
||||
if (session_status() == PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
if (!defined('AJAX_INCLUDE')) { exit; }
|
||||
|
||||
|
@ -34,10 +37,9 @@ if (isset($_REQUEST['browse_id'])) {
|
|||
$browse_id = null;
|
||||
}
|
||||
|
||||
$list_uid = scrub_in($_REQUEST['uid']);
|
||||
$browse = new Browse($browse_id);
|
||||
|
||||
if ($_REQUEST['show_header']) {
|
||||
if (isset($_REQUEST['show_header']) && $_REQUEST['show_header']) {
|
||||
$browse->set_show_header($_REQUEST['show_header'] == 'true');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue