]> git.pld-linux.org Git - projects/buildlogs.git/commitdiff
php notice fix
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 10 Mar 2018 17:52:12 +0000 (18:52 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 10 Mar 2018 17:52:12 +0000 (18:52 +0100)
index.php

index 357a9f18736d8617d571d34d29eb1e415507718b..bafe74719a7fabd61d5570fdf86b5103e98e14b6 100644 (file)
--- 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()
This page took 0.161774 seconds and 4 git commands to generate.