mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 09:49:30 +02:00
Fix Scrutinizer reported errors
This commit is contained in:
parent
4a2d7b97f6
commit
80cd08ed04
29 changed files with 117 additions and 92 deletions
|
@ -69,7 +69,7 @@ class Preference extends database_object
|
|||
* update
|
||||
* This updates a single preference from the given name or id
|
||||
*/
|
||||
public static function update($preference,$user_id,$value,$applytoall='',$applytodefault='')
|
||||
public static function update($preference,$user_id,$value,$applytoall=false,$applytodefault=false)
|
||||
{
|
||||
// First prepare
|
||||
if (!is_numeric($preference)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue