[projects/buildlogs] php notice fix

arekm arekm at pld-linux.org
Sat Mar 10 18:52:21 CET 2018


commit 48071668103b79687b9f8ca1fe88970eb73fe4ca
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Mar 10 18:52:12 2018 +0100

    php notice fix

 index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/index.php b/index.php
index 357a9f1..bafe747 100644
--- a/index.php
+++ b/index.php
@@ -75,7 +75,7 @@ if (isset($_GET["id"]))$id=$_GET["id"];
 if (isset($_POST["str"]))$str=$_POST["str"];
 if (isset($_POST["action"]))$action=$_POST["action"];
 
-if ($arch == "src")
+if (isset($arch) && $arch == "src")
 	$arch = "SRPMS";
 
 function myheader()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/buildlogs.git/commitdiff/48071668103b79687b9f8ca1fe88970eb73fe4ca



More information about the pld-cvs-commit mailing list