What steps will reproduce the problem?
1. In any plugin, $db = $this->env->configuration()->db();
2. Then do something like, echo $db->password()
What is the expected output? What do you see instead?
- Any attempt to use the password() method on the MySQL wrapper class won't
work.
- PHP throws a property error because $this->password does not exist.
What version of the product are you using? On what operating system?
- N/A
Please provide any additional information below.
In both of these files,
- backend/include/mysql/MySQLDatabase.class.php
- backend/include/mysql/MySQLIDatabase.class.php
public function password() {
return $this->password;
}
should be
public function password() {
return $this->pw;
}
Original issue reported on code.google.com by bouchard...@gmail.com on 2 Jan 2013 at 9:58
Original issue reported on code.google.com by
bouchard...@gmail.com
on 2 Jan 2013 at 9:58