Fix a type juggling issue

This commit is contained in:
Timothy Warren 2020-04-23 16:54:58 -04:00
parent 18165b2dc3
commit 15de3b8dde

View File

@ -309,7 +309,7 @@ abstract class AbstractDriver
}
// Handle comma-separated identifiers
if (strpos($identifier, ',') !== FALSE)
if (is_string($identifier) && strpos($identifier, ',') !== FALSE)
{
$parts = array_map('mb_trim', explode(',', $identifier));
$parts = array_map([$this, __METHOD__], $parts);