Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix call on non-object in ping() with PDO wrapper #878

Merged
merged 1 commit into from
Jul 15, 2015

Commits on Jul 14, 2015

  1. Fix call on non-object in ping() with PDO wrapper

    Fixes an issue when calling `ping()` where `$this->platform` is null. Happened to me because using the `'pdo'` param bypasses the `connect()` method and the platform is never set without explicitly calling the method.
    
    Not sure if this is the most elegant way to deal with this but it worked enough for my purposes so I figured I should submit a PR.
    Virakal committed Jul 14, 2015
    Configuration menu
    Copy the full SHA
    5895631 View commit details
    Browse the repository at this point in the history