diff -Naur -x '*~' ampache-3.5.4/lib/class/vauth.class.php ampache-3.5.4-php-5.4-fix/lib/class/vauth.class.php --- ampache-3.5.4/lib/class/vauth.class.php 2010-02-03 03:35:36.000000000 +0100 +++ ampache-3.5.4-php-5.4-fix/lib/class/vauth.class.php 2013-03-17 22:14:17.857216590 +0100 @@ -577,7 +577,7 @@ return $results; } - if (pam_auth($username, $password, &$results['error'])) { + if (pam_auth($username, $password, $results['error'])) { $results['success'] = true; $results['type'] = 'local'; $results['username'] = $username;