We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b5258a commit f67dd4bCopy full SHA for f67dd4b
1 file changed
xoops_trust_path/modules/xpwiki/plugin/dump.inc.php
@@ -1343,7 +1343,7 @@ function extract($pattern)
1343
1344
//$files[] = '<span class="diff_removed">Debug: ' . $name . '</span>';
1345
1346
- $buff = rtrim(fread($this->fp, $pdsz), "\0");
+ $buff = $pdsz? rtrim(fread($this->fp, $pdsz), "\0") : '';
1347
1348
if ($charset && strtoupper($charset) !== strtoupper($this->cont['SOURCE_ENCODING'])) {
1349
// ファイル名変換
0 commit comments