com web/windows: Fix var to check: templates/snaps.php
| From: | Anatol Belski | Date: | Tue, 06 Mar 2018 21:44:31 +0000 |
| Subject: | com web/windows: Fix var to check: templates/snaps.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26820@lists.php.net to get a copy of this message | ||
Commit: da7456a38d461f0463702834cf0e978239d292e5
Author: Anatol Belski <ab@php.net> Tue, 6 Mar 2018 22:44:31 +0100
Parents: 33798019e49a8bc50ddbcfe717205f41add5e298
Branches: master
Link: http://git.php.net/?p=web/windows.git;a=commitdiff;h=da7456a38d461f0463702834cf0e978239d292e5
Log:
Fix var to check
Changed paths:
M templates/snaps.php
Diff:
diff --git a/templates/snaps.php b/templates/snaps.php
index 12cf27a..0d93be7 100644
--- a/templates/snaps.php
+++ b/templates/snaps.php
@@ -131,7 +131,7 @@ if (0) {
<span class="corners-top"><span></span></span>
<h4 id="php-<?php echo $major . '-' . $minor; ?>"
name="php-<?php echo $major . '-' . $minor;?>"><?php echo
$labels[$minor]; ?> </h4>
- <?php if (substr($labels[$minor], strlen($labels[$minor])-3) == 'avx') echo
"<p>WARNING! These builds require a CPU with the AVX instruction set
support.</p>"; ?>
+ <?php if (substr($minor, strlen($minor)-3) == 'avx') echo "<p>WARNING!
These builds require a CPU with the AVX instruction set support.</p>"; ?>
<p>
<ul>
<?php if (isset($data[$major][$minor]['files']) &&
$data[$major][$minor]['files']['php']['size'] > 0) { ?>