Skip to content

Commit f3fc00e

Browse files
committed
Merge pull request #20 from dnjwaller/master
Added comment code
2 parents 341e5c0 + cc099e8 commit f3fc00e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Ncstate/Service/Dining.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ 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+
//Check that _lastParsedResponse is not null first or a cron error will be thrown
315316
if ($this->_lastParsedResponse != NULL) {
316317
$this->_lastParsedResponse = array_pop($this->_lastParsedResponse);
317318
}

0 commit comments

Comments
 (0)