1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00

files_opds: who on earth writes overlong copyright statements in metadata? Cap it to 256 characters...

This commit is contained in:
frankdelange 2016-02-07 14:47:43 +01:00
parent 3fbee24f8e
commit ecd5855990
2 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ class Meta
$meta['language'],
$meta['publisher'],
preg_replace('/[^0-9xX]/','',$meta['isbn']),
$meta['copyright'],
mb_strimwidth($meta['copyright'],0,252,'...'),
mb_strimwidth($meta['description'],0,2044,'...'),
$meta['subjects'],
$meta['cover'],
@ -111,7 +111,7 @@ class Meta
$meta['language'],
$meta['publisher'],
preg_replace('/[^0-9xX]/','',$meta['isbn']),
$meta['copyright'],
mb_strimwidth($meta['copyright'],0,252,'...'),
mb_strimwidth($meta['description'],0,2044,'...'),
$meta['subjects'],
$meta['cover'],