mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
fix to get the column variable
This commit is contained in:
parent
a9ff791f4b
commit
1b80db4652
1 changed files with 2 additions and 2 deletions
|
|
@ -237,7 +237,7 @@ class VariableBase
|
|||
}
|
||||
break;
|
||||
case 'search':
|
||||
list($where, $params[]) = $this->_parseSearchKeywords($value);
|
||||
list($where, $params[]) = $this->_parseSearchKeywords($column, $value);
|
||||
break;
|
||||
case 'plus':
|
||||
$where = sprintf('%s = %s + %s', $column, $column, $is_expression ? $value : '?');
|
||||
|
|
@ -434,7 +434,7 @@ class VariableBase
|
|||
* @param string $value
|
||||
* @return object
|
||||
*/
|
||||
protected function _parseSearchKeywords($value)
|
||||
protected function _parseSearchKeywords($column, $value)
|
||||
{
|
||||
// Initialze the return values.
|
||||
$where = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue