Version 3 #1
@ -308,8 +308,11 @@ abstract class AbstractDriver
|
|||||||
return array_map([$this, __METHOD__], $identifier);
|
return array_map([$this, __METHOD__], $identifier);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make all the string-handling methods happy
|
||||||
|
$identifier = (string)$identifier;
|
||||||
|
|
||||||
// Handle comma-separated identifiers
|
// Handle comma-separated identifiers
|
||||||
if (is_string($identifier) && strpos($identifier, ',') !== FALSE)
|
if (strpos($identifier, ',') !== FALSE)
|
||||||
{
|
{
|
||||||
$parts = array_map('mb_trim', explode(',', $identifier));
|
$parts = array_map('mb_trim', explode(',', $identifier));
|
||||||
$parts = array_map([$this, __METHOD__], $parts);
|
$parts = array_map([$this, __METHOD__], $parts);
|
||||||
|
Loading…
Reference in New Issue
Block a user