mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Merged:
[1683] git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1684 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
d29b4cd147
commit
acac978896
2 changed files with 2 additions and 2 deletions
|
@ -6,4 +6,4 @@
|
|||
// +---------------------------------------------------------------------------------------------------+ //
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
0.10.4.1682_beta
|
||||
0.10.4.1684_beta
|
|
@ -1182,7 +1182,7 @@ class Model extends Object
|
|||
|
||||
$tmpSQL = "SELECT {$this->{$association.'_fields'}} FROM {$this->{$model}->table} AS `{$association}`
|
||||
WHERE ({$this->{$association.'_foreignkey'}}) = '{$value2[$this->primaryKey]}'"
|
||||
.($oneToManyConditions? " {$oneToManyConditions}":null)
|
||||
.($oneToManyConditions? "AND {$oneToManyConditions}":null)
|
||||
.($oneToManyOrder? " ORDER BY {$oneToManyOrder}": null);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue