Fixed behaviour of metadata categories without xml:lang specified.

(mainly for dcterms:extent)
This commit is contained in:
tomas 2005-04-08 23:42:30 +00:00
parent 9549a022f3
commit 8b1196db50

View file

@ -23,7 +23,7 @@
Author : $Author: tomas $ Author : $Author: tomas $
Version : $Revision: 1.27 $ Version : $Revision: 1.28 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/MetaData.php,v $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/MetaData.php,v $
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
@ -316,7 +316,8 @@ class MetaData{
if( if(
is_null($lang) || is_null($lang) ||
strtolower($lang) == strtolower($atlang) || strtolower($lang) == strtolower($atlang) ||
(is_null($atlang) && strtolower($lang) == 'en') // (is_null($atlang) && strtolower($lang) == strtolower('en_GB'))
is_null($atlang)
){ ){
$res[] = $all[$i]; $res[] = $all[$i];
} }