cvs: phpweb / my.php
| From: | Andrew Lindeman | Date: | Thu, 24 Apr 2003 11:54:08 +0000 |
| Subject: | cvs: phpweb / my.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-17016@lists.php.net to get a copy of this message | ||
alindeman Thu Apr 24 07:54:08 2003 EDT
Modified files:
/phpweb my.php
Log:
prevent the same language from being displayed twice (as was happening
with me)
Index: phpweb/my.php
diff -u phpweb/my.php:1.8 phpweb/my.php:1.9
--- phpweb/my.php:1.8 Sun Mar 16 05:50:59 2003
+++ phpweb/my.php Thu Apr 24 07:54:08 2003
@@ -83,7 +83,7 @@
</tr>
<tr>
<td bgcolor="#dddddd">Your Accept-Language browser setting (parsed)</td>
- <td bgcolor="#eeeeee"><?php echo join(", ", $UA_LANGS);
?></td>
+ <td bgcolor="#eeeeee"><?php echo join(", ", array_unique
($UA_LANGS)); ?></td>
</tr>
<tr>
<td bgcolor="#dddddd">The mirror's default language</td>