Skip to content

Commit 6bc732a

Browse files
thekidtreuter
authored andcommitted
Fix parse error
Argls (cherry picked from commit 12aab12)
1 parent edb6c8e commit 6bc732a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/php/rdbms/tds/TdsV7Protocol.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function unmarshal($stream, $field, $records) {
118118
public function unmarshal($stream, $field, $records) {
119119
$len= isset($field["len"]) ? $field["len"] : $stream->getByte();
120120
switch ($len) {
121-
case 4: return $this->toDate($stream->getShort(), $stream->getShort() * 60; break;
121+
case 4: return $this->toDate($stream->getShort(), $stream->getShort() * 60); break;
122122
case 8: return $this->toDate($stream->getLong(), $stream->getLong() / 300); break;
123123
default: return null;
124124
}

0 commit comments

Comments
 (0)