b-b-a / bba-power

1 stars 0 forks source link

Unrecognized method 'getContract_status()' #232

Closed ghost closed 11 years ago

ghost commented 11 years ago

We are getting a crash when selecting tenders on contracts. Unrecognized method 'getContract_status()'

Code: if ($contract && ($contract->contract_dateEnd != $data['contract_dateEnd'] || $contract->getContract_status(true) != $data['contract_status'])) { $warning = true; }

getContract_status is not defined anywhere. looks as though it has been changed to getContractStatus and the raw option removed.

As a quick fix (4.0.3a) I have created a new getContract_status that only gets the raw value from the DB.

Could you have a look at this please and see what should really be done.

Thanks