Преглед изворни кода

! 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;