1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 09:49:30 +02:00

Fix scrutinizer code style

This commit is contained in:
Afterster 2014-05-26 00:48:43 +02:00
parent 1757d8c6f5
commit fee1e70ffa
14 changed files with 37 additions and 12 deletions

View file

@ -180,6 +180,7 @@ class Api
if ($client) {
// Create the session
$data = array();
$data['username'] = $client->username;
$data['type'] = 'api';
$data['value'] = $timestamp;
@ -654,6 +655,7 @@ class Api
*/
public static function search_songs($input)
{
$array = array();
$array['type'] = 'song';
$array['rule_1'] = 'anywhere';
$array['rule_1_input'] = $input['filter'];