Merge pull request #12 from misol/db-search-operator

필요 없어진 flag 제거
This commit is contained in:
Min-Soo Kim 2020-12-27 20:35:19 +09:00 committed by GitHub
commit 378992f8a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -448,12 +448,6 @@ class VariableBase
$where = '';
$params = array();
// flag to mark transformed quotation mark.
$escaped_quot = false;
// flag to mark escaped hypen in the quotation block
$escaped_hyphen = false;
// parse the value (text);
$value = str_replace('"', '"', $value);
$keywords = preg_split('/(\([^\)]*\))|(\-?\"[^\"]*\")|[\s,]+/', trim($value), 10, \PREG_SPLIT_NO_EMPTY | \PREG_SPLIT_DELIM_CAPTURE);