Fix Stickler
This commit is contained in:
parent
d6954b2826
commit
4d907ef443
@ -137,10 +137,9 @@ class PaymentDonation extends CommonObject
|
|||||||
// Clean parameters
|
// Clean parameters
|
||||||
if (isset($this->chid)) {
|
if (isset($this->chid)) {
|
||||||
$this->chid = (int) $this->chid;
|
$this->chid = (int) $this->chid;
|
||||||
}
|
} elseif (isset($this->fk_donation)) {
|
||||||
// NOTE : The property used in INSERT for fk_donation is not fk_donation but chid
|
// NOTE : The property used in INSERT for fk_donation is not fk_donation but chid
|
||||||
// (keep priority to chid property)
|
// (keep priority to chid property)
|
||||||
elseif (isset($this->fk_donation)) {
|
|
||||||
$this->chid = (int) $this->fk_donation;
|
$this->chid = (int) $this->fk_donation;
|
||||||
}
|
}
|
||||||
if (isset($this->fk_donation)) {
|
if (isset($this->fk_donation)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user