php5-auth-pam does not follow php standards

Bug #588269 reported by Frank
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php-auth-pam (Ubuntu)
New
Undecided
Unassigned

Bug Description

Description: Ubuntu 10.04 LTS
Release: 10.04

php5-auth-pam:
  Installed: 0.4-10ubuntu1
  Candidate: 0.4-10ubuntu1
  Version table:
 *** 0.4-10ubuntu1 0
        500 http://nl.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

---------------------------------------------------------------------------------

This is how it should work, produces warning:
$auth = pam_auth($username, $password, $error); // Warning: Error variable must be passed by reference in /home/frank/public_html/subscribertool/lib/classes/Login.class.php on line 35

This is how it works, but produces warning:
$auth = pam_auth(Login::$username, Login::$password, &$error); // Deprecated: Call-time pass-by-reference has been deprecated in /home/frank/public_html/subscribertool/lib/classes/Login.class.php on line 35

Should probably be fixed upstream.

Tags: pam php
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.