[geany/plugins.geany.org] 4b32d0: Select md5 as default

Michael Spahn git-noreply at xxxxx
Mon Mar 24 12:08:31 UTC 2014


Branch:      refs/heads/master
Author:      Michael Spahn <michael at spahn.me>
Committer:   Michael Spahn <michael at spahn.me>
Date:        Mon, 24 Mar 2014 12:08:31 UTC
Commit:      4b32d0742cf23427d7dcea4c26173f625d74c830
             https://github.com/geany/plugins.geany.org/commit/4b32d0742cf23427d7dcea4c26173f625d74c830

Log Message:
-----------
Select md5 as default


Modified Paths:
--------------
    content/downloads.html

Modified: content/downloads.html
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -37,7 +37,7 @@
 	echo "	<th>SIG</th>";
 	echo "	<th>";
 
-	if ($_GET['hash'] != "md5")
+	if ( ( $hash = $_GET['hash'] ) != "md5" || $hash == "")
 	{
 		echo "<a href=\"?site=downloads&hash=md5\">MD5</a> ";
 	}



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list