Fixed behaviour of metadata categories without xml:lang specified.
(mainly for dcterms:extent)
This commit is contained in:
parent
9549a022f3
commit
8b1196db50
1 changed files with 3 additions and 2 deletions
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue