Skip to content
Permalink
Browse files

[plugin:dump] fix Warning error

  • Loading branch information
nao-pon committed Feb 12, 2014
1 parent 8b5258a commit f67dd4b259697ecdd3febe7b0974b9db59280bcb
Showing with 1 addition and 1 deletion.
  1. +1 −1 xoops_trust_path/modules/xpwiki/plugin/dump.inc.php
@@ -1343,7 +1343,7 @@ function extract($pattern)

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

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

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

0 comments on commit f67dd4b

Please sign in to comment.