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

Fix: filter ISBN before inserting to keep it within column size limits

This commit is contained in:
frankdelange 2015-02-18 01:11:46 +01:00
parent b90e77d902
commit 9a03a36c8f

View file

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