Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonas
gcweb
Commits
583ed29b
Commit
583ed29b
authored
Feb 06, 2016
by
Jonas
Browse files
Solution pour "deux auteurs séparés par une virgule dans GCbooks"
http://forum.jonas.tuxfamily.org/forum/viewtopic.php?id=622
parent
778be3dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/item_string2array.php
View file @
583ed29b
...
...
@@ -51,5 +51,9 @@ switch ($collec['type']) {
if
(
!
is_array
(
$item
[
'colourist'
]))
$item
[
'colourist'
]
=
explode
(
'%252C'
,
preg_replace
(
'/(%20)*%252C(%20)*/'
,
'%252C'
,
$item
[
'colourist'
]));
break
;
case
'GCbooks'
:
if
(
!
is_array
(
$item
[
'authors'
]))
$item
[
'authors'
]
=
explode
(
'%252C'
,
preg_replace
(
'/(%20)*%252C(%20)*/'
,
'%252C'
,
$item
[
'authors'
]));
break
;
}
?>
?>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment