Skip to content

Commit

Permalink
Fix parse error
Browse files Browse the repository at this point in the history
Argls

(cherry picked from commit 12aab12)
  • Loading branch information
thekid authored and treuter committed Dec 21, 2018
1 parent 935ae27 commit 341028d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/php/rdbms/tds/TdsV7Protocol.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function unmarshal($stream, $field, $records) {
public function unmarshal($stream, $field, $records) {
$len= isset($field["len"]) ? $field["len"] : $stream->getByte();
switch ($len) {
case 4: return $this->toDate($stream->getShort(), $stream->getShort() * 60; break;
case 4: return $this->toDate($stream->getShort(), $stream->getShort() * 60); break;
case 8: return $this->toDate($stream->getLong(), $stream->getLong() / 300); break;
default: return null;
}
Expand Down

0 comments on commit 341028d

Please sign in to comment.