Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix a typo, return early when there is an error

  • Loading branch information...
commit 060a430bf8fad34d2995fb60b71e2f9b2b63c5f1 1 parent d0a1f77
@LegNeato LegNeato authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  BugzillaQuery.class.php
View
3  BugzillaQuery.class.php
@@ -111,8 +111,9 @@ protected function _set_options($query_options_raw) {
$this->options = json_decode($query_options_raw);
if( !$query_options_raw || !$this->options ) {
$this->error = 'Query options must be valid json';
+ return;
}
- // Object is kinda userless, make it an array
+ // Object is kinda useless, make it an array
$this->options = get_object_vars($this->options);
}
Please sign in to comment.
Something went wrong with that request. Please try again.