Skip to content

Commit f39465e

Browse files
committed
Fix *syntax error, unexpected identifier "null"*
1 parent 1d7dbe7 commit f39465e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ public function unmarshal($stream, $field, $records) {
5252
5353
$stream->read(24); // Skip 16 Byte TEXTPTR, 8 Byte TIMESTAMP
5454
$len= $stream->getLong();
55-
if (0 === $len) re;
56-
turn null;
55+
if (0 === $len) return null;
5756

5857
$r= $stream->read($len);
5958

0 commit comments

Comments
 (0)