Skip to content

Commit cc099e8

Browse files
committed
Added comment code
1 parent b81ade5 commit cc099e8

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)