ソースを参照

! Undefined index while adding hooks and credits while parsing a package

Signed-off-by: John Rayes <[email protected]>
John Rayes 12 年 前
コミット
751f03e133
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Sources/Packages.php

+ 1 - 1
Sources/Packages.php

@@ -645,7 +645,7 @@ function PackageInstallTest()
 		if (empty($thisAction))
 			continue;
 
-		if (!file_exists($boarddir . '/Packages/temp/' . $context['base_path'] . $action['filename']))
+		if (isset($action['filename']) && !!file_exists($boarddir . '/Packages/temp/' . $context['base_path'] . $action['filename']))
 		{
 			$context['has_failure'] = true;