File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -312,8 +312,10 @@ protected function _request($method, $args)
312312
313313 // The response will always have a wrapper element that is the version of the API we're using.
314314 // We don't care about that, so we'll strip it out
315- $ this ->_lastParsedResponse = array_pop ($ this ->_lastParsedResponse );
316-
315+ if ($ this ->_lastParsedResponse != NULL ) {
316+ $ this ->_lastParsedResponse = array_pop ($ this ->_lastParsedResponse );
317+ }
318+
317319 // if it was xml, we'll remove the attributes that were attached to the
318320 // root element as they were meaningless
319321 if ($ this ->_format == 'xml ' ) {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ final class Ncstate_Version
1717 * Version of the API
1818 * @var string
1919 */
20- const VERSION = '1.1.0 ' ;
20+ const VERSION = '1.1.1 ' ;
2121
2222 /**
2323 * Compare the specified version string $version with the current
You can’t perform that action at this time.
0 commit comments