diff options
author | wei <> | 2007-04-03 01:38:15 +0000 |
---|---|---|
committer | wei <> | 2007-04-03 01:38:15 +0000 |
commit | 03dbe16b7762cc1a9e57df4e9e34bc04f46bb57f (patch) | |
tree | 4510a10b0a9fdcf6e6612d773f2bad55b8eb0534 /framework/Data/ActiveRecord/TActiveRecord.php | |
parent | 571b069953f559edd02f89476ebe628efa63d613 (diff) |
update js onclick handler context for controls with js counterpart.
Diffstat (limited to 'framework/Data/ActiveRecord/TActiveRecord.php')
-rw-r--r-- | framework/Data/ActiveRecord/TActiveRecord.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/ActiveRecord/TActiveRecord.php b/framework/Data/ActiveRecord/TActiveRecord.php index 109ae9a6..54aef3f3 100644 --- a/framework/Data/ActiveRecord/TActiveRecord.php +++ b/framework/Data/ActiveRecord/TActiveRecord.php @@ -520,7 +520,7 @@ abstract class TActiveRecord extends TComponent $search = implode('|', $meta->getColumnNames()); $regexp = '/('.$search.')(and|_and_|or|_or_)?/i'; $matches = array(); - if(!preg_match_all($regexp, strtolower($condition), $matches,PREG_SET_ORDER)) + if(!preg_match_all($regexp, $condition, $matches,PREG_SET_ORDER)) { throw new TActiveRecordException('ar_mismatch_column_names', $method, implode(', ', $meta->getColumnNames()), $meta->getTableName()); |