wifang / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Tiny bugfix in MySQL database includes #429

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Forgot to merge into trunk, committed now, will be in 2.0.3

Original comment by samuli.j...@gmail.com on 12 Sep 2013 at 8:54

GoogleCodeExporter commented 9 years ago

Original comment by samuli.j...@gmail.com on 26 Oct 2013 at 10:56