Quellcode durchsuchen

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

Signed-off-by: John Rayes <[email protected]>
John Rayes vor 12 Jahren
Ursprung
Commit
751f03e133
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;