fuel / auth

Fuel PHP Framework - Fuel v1.x Authentication package
http://fuelphp.com/docs/packages/auth/intro.html
76 stars 57 forks source link

Fix if write_connection config is null, default to connection. #88

Closed MacTwister closed 9 years ago

MacTwister commented 10 years ago

Amendment to previous pull-request. Using the default parameter in config::get won't work because the default config key still exists in ormauth config. However changed, if config value is null, default $_write_connection to $_connection using conditional statement.