Minor fixes to ssl and core
This commit is contained in:
@@ -124,6 +124,7 @@ class ORM extends Kohana_ORM {
|
||||
->from($this->_has_many[$alias]['through'])
|
||||
->where($this->_has_many[$alias]['foreign_key'], '=', $this->pk())
|
||||
->where($this->_has_many[$alias]['far_key'], 'IN', $far_keys)
|
||||
->where('site_id', '=', Config::siteid())
|
||||
->execute($this->_db)->get('records_found');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user