mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
@kijin 님 의견에 따라 수정
This commit is contained in:
parent
56921fa9be
commit
d23c5f7271
1 changed files with 2 additions and 4 deletions
|
|
@ -237,9 +237,7 @@ class VariableBase
|
|||
}
|
||||
break;
|
||||
case 'search':
|
||||
$parsed_keywords = $this->_parseSearchKeywords($value);
|
||||
$where = $parsed_keywords[0];
|
||||
$params = array_merge($params, $parsed_keywords[1]);
|
||||
list($where, $params) = $this->_parseSearchKeywords($value);
|
||||
break;
|
||||
case 'plus':
|
||||
$where = sprintf('%s = %s + %s', $column, $column, $is_expression ? $value : '?');
|
||||
|
|
@ -436,7 +434,7 @@ class VariableBase
|
|||
* @param string $value
|
||||
* @return object
|
||||
*/
|
||||
private function _parseSearchKeywords($value)
|
||||
protected function _parseSearchKeywords($value)
|
||||
{
|
||||
// Initialze the return values.
|
||||
$where = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue