mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed PHP notice during SS installation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@83583 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
008acc99a0
commit
e3efb0f554
@ -718,7 +718,7 @@ class Security extends Controller {
|
||||
// but can be helpful for migrating legacy user-sets into a SilverStripe application.
|
||||
// Since DB::getConn() doesn't exist yet, we need to look at $databaseConfig. Gack!
|
||||
global $databaseConfig;
|
||||
if($databaseConfig['type'] == 'MySQLDatabase') {
|
||||
if(isset($databaseConfig['type']) && $databaseConfig['type'] == 'MySQLDatabase') {
|
||||
$result[] = 'password';
|
||||
$result[] = 'old_password';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user