mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Fixes #5539 - $config prototype was not being set correctly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7709 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
06955ad42f
commit
091325bcd1
1 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@ class DboOracle extends DboSource {
|
|||
* @var unknown_type
|
||||
* @access public
|
||||
*/
|
||||
var $config;
|
||||
var $config = array();
|
||||
/**
|
||||
* Enter description here...
|
||||
*
|
||||
|
@ -968,7 +968,7 @@ class DboOracle extends DboSource {
|
|||
$ins = array_chunk($ins, 1000);
|
||||
foreach ($ins as $i) {
|
||||
$q = str_replace('{$__cakeID__$}', join(', ', $i), $query);
|
||||
$q = str_replace('= (', 'IN (', $q);
|
||||
$q = str_replace('= (', 'IN (', $q);
|
||||
$res = $this->fetchAll($q, $model->cacheQueries, $model->alias);
|
||||
$fetch = array_merge($fetch, $res);
|
||||
}
|
||||
|
@ -1012,7 +1012,7 @@ class DboOracle extends DboSource {
|
|||
$ins = array_chunk($ins, 1000);
|
||||
foreach ($ins as $i) {
|
||||
$q = str_replace('{$__cakeID__$}', '(' .join(', ', $i) .')', $query);
|
||||
$q = str_replace('= (', 'IN (', $q);
|
||||
$q = str_replace('= (', 'IN (', $q);
|
||||
$q = str_replace(' WHERE 1 = 1', '', $q);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue