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

Added missing parameter for sprintf call #359

Merged
merged 1 commit into from Dec 31, 2014

Conversation

ricbra
Copy link
Contributor

@ricbra ricbra commented Dec 29, 2014

The DropDatabaseDoctrineCommand class yields an error when the database doesn't exist:

PHP Warning:  sprintf(): Too few arguments in /home/vagrant/vendor/doctrine/doctrine-bundle/Command/DropDatabaseDoctrineCommand.php on line 94

I added the missing $name argument.

@stof stof merged commit 0ec2653 into doctrine:master Dec 31, 2014
stof added a commit that referenced this pull request Dec 31, 2014
This PR was merged into the 1.3.x-dev branch.

Discussion
----------

Added missing parameter for sprintf call

The <code>DropDatabaseDoctrineCommand</code> class yields an error when the database doesn't exist:

    PHP Warning:  sprintf(): Too few arguments in /home/vagrant/vendor/doctrine/doctrine-bundle/Command/DropDatabaseDoctrineCommand.php on line 94

I added the missing <code>$name</code> argument.

Commits
-------

0ec2653 Added missing parameter for sprintf call
@stof
Copy link
Member

stof commented Dec 31, 2014

Thanks @ricbra

@ricbra ricbra deleted the add_sprintf_param branch December 31, 2014 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants