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

Don't throw a PHP notice for unknown command (e. g. cmd-delete) #1

Merged
merged 1 commit into from
Aug 20, 2012

Conversation

mjaschen
Copy link
Contributor

The statsTube() method returns stats for cmd-delete but this isn't defined in the $nameTube array in BeanstalkInterface.class.php, so a PHP notice is shown. (see http://mj.gs/-7n)

This patch fixes this.

ptrofimov added a commit that referenced this pull request Aug 20, 2012
Don't throw a PHP notice for unknown command (e. g. `cmd-delete`)
@ptrofimov ptrofimov merged commit 35990c5 into ptrofimov:master Aug 20, 2012
@ptrofimov
Copy link
Owner

Thank you!

pentium10 added a commit that referenced this pull request Sep 4, 2014
tube names highlight due to whitespace change
pentium10 pushed a commit that referenced this pull request Oct 16, 2020
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.

2 participants