Skip to content

Commit f67dd4b

Browse files
committed
[plugin:dump] fix Warning error
1 parent 8b5258a commit f67dd4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xoops_trust_path/modules/xpwiki/plugin/dump.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ function extract($pattern)
13431343

13441344
//$files[] = '<span class="diff_removed">Debug: ' . $name . '</span>';
13451345

1346-
$buff = rtrim(fread($this->fp, $pdsz), "\0");
1346+
$buff = $pdsz? rtrim(fread($this->fp, $pdsz), "\0") : '';
13471347

13481348
if ($charset && strtoupper($charset) !== strtoupper($this->cont['SOURCE_ENCODING'])) {
13491349
// ファイル名変換

0 commit comments

Comments
 (0)