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:
parent
b90e77d902
commit
9a03a36c8f
1 changed files with 2 additions and 2 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue