빼먹은 조건 추가

This commit is contained in:
Min-Soo Kim 2020-12-22 16:31:17 +09:00
parent d081b75dcc
commit 83df509d7d

View file

@ -237,7 +237,7 @@ class VariableBase
}
break;
case 'search':
$keywords = preg_split('/("[^"]*")|[\s,]+/', $value, 10, \PREG_SPLIT_NO_EMPTY);
$keywords = preg_split('/("[^"]*")|[\s,]+/', $value, 10, \PREG_SPLIT_NO_EMPTY | \PREG_SPLIT_DELIM_CAPTURE);
$conditions = array();
$operators = array('AND', 'OR', '|');
$placeholders = implode(', ', array_fill(0, count($keywords), '?'));