Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Ncstate/Service/Dining.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,10 @@ protected function _request($method, $args)

// The response will always have a wrapper element that is the version of the API we're using.
// We don't care about that, so we'll strip it out
$this->_lastParsedResponse = array_pop($this->_lastParsedResponse);

if ($this->_lastParsedResponse != NULL) {
$this->_lastParsedResponse = array_pop($this->_lastParsedResponse);
}

// if it was xml, we'll remove the attributes that were attached to the
// root element as they were meaningless
if ($this->_format == 'xml') {
Expand Down
2 changes: 1 addition & 1 deletion Ncstate/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final class Ncstate_Version
* Version of the API
* @var string
*/
const VERSION = '1.1.0';
const VERSION = '1.1.1';

/**
* Compare the specified version string $version with the current
Expand Down