mirror of
https://github.com/processwire/processwire.git
synced 2025-08-06 14:57:10 +02:00
Fix issue processwire/processwire-issues#2039
This commit is contained in:
@@ -465,7 +465,7 @@ abstract class DatabaseQuery extends WireData {
|
||||
if(is_array($value)) {
|
||||
$curValue = array_merge($curValue, $value);
|
||||
} else {
|
||||
$curValue[] = trim($value, ", ");
|
||||
$curValue[] = trim("$value", ", ");
|
||||
}
|
||||
|
||||
$this->set($method, $curValue);
|
||||
@@ -756,4 +756,3 @@ abstract class DatabaseQuery extends WireData {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user