diff options
Diffstat (limited to 'en/downloads/dl.php')
-rw-r--r-- | en/downloads/dl.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/en/downloads/dl.php b/en/downloads/dl.php index 9827d46db..dde36197c 100644 --- a/en/downloads/dl.php +++ b/en/downloads/dl.php @@ -126,9 +126,9 @@ $dl2_mirror_alt = sprintf($_t['dl_mirror_loc'], <p><?php echo $_t['signs_check_1']; ?></p> <div id="check-signs"> <pre class="term"> -$ md5sum <?php echo basename($product_dl_link), "\n", $p['md5'], "\n"; ?> +<?php if (isset($p['md5'])): ?>$ md5sum <?php echo basename($product_dl_link), "\n", $p['md5'], "\n"; endif; ?> -$ sha1sum <?php echo basename($product_dl_link), "\n", $p['sha1'], "\n"; ?> +<?php if (isset($p['sha1'])): ?>$ sha1sum <?php echo basename($product_dl_link), "\n", $p['sha1'], "\n"; endif; ?> </pre> <p><?php echo $_t['signs_check_2']; ?></p> </div> |