cvs: phpweb /include langchooser.inc
| From: | Gabor Hojtsy | Date: | Tue, 11 Mar 2003 21:28:57 +0000 |
| Subject: | cvs: phpweb /include langchooser.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-16252@lists.php.net to get a copy of this message | ||
goba Tue Mar 11 16:28:57 2003 EDT
Modified files:
/phpweb/include langchooser.inc
Log:
Fix the explicit spec. bug I have introduced the past weekend...
Index: phpweb/include/langchooser.inc
diff -u phpweb/include/langchooser.inc:1.12 phpweb/include/langchooser.inc:1.13
--- phpweb/include/langchooser.inc:1.12 Sat Mar 8 15:43:16 2003
+++ phpweb/include/langchooser.inc Tue Mar 11 16:28:57 2003
@@ -1,6 +1,6 @@
<?php // -*- C++ -*-
-// $Id: langchooser.inc,v 1.12 2003/03/08 20:43:16 goba Exp $
+// $Id: langchooser.inc,v 1.13 2003/03/11 21:28:57 goba Exp $
/*
@@ -68,7 +68,7 @@
// Specified in a manual URL (eg. manual/en/ or manual/pt_br/)
if (preg_match("!^/manual/(\\w{2}(_\\w{2})?)(/|$)!",
$_SERVER['REQUEST_URI'], $flang)) {
$flang = language_add($flang[1], $languages);
- if (!isset($explicitly_specified)) {
+ if (empty($explicitly_specified)) {
$explicitly_specified = $flang;
}
}