[projects/buildlogs] Silence php notices.

arekm arekm at pld-linux.org
Fri Mar 9 11:18:01 CET 2018


commit f1a0f4fca68cc30bab3cb1dfcd0894841920f0c8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Mar 9 11:17:58 2018 +0100

    Silence php notices.

 index.php | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/index.php b/index.php
index 357a9f1..6142089 100644
--- a/index.php
+++ b/index.php
@@ -47,6 +47,8 @@ setlocale(LC_ALL,$lang);
 bindtextdomain("messages","locale");
 textdomain("messages");
 
+$dist = "";
+$arch = "";
 if (isset($_GET["dist"]) && isset($_GET["arch"]))
 {
 	$dist = basename($_GET["dist"]);
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list