issue #0001635 : Correct sql in getScoreCutoff
This commit is contained in:
parent
20c4506505
commit
6373ec9bce
@ -2320,7 +2320,8 @@ class Saisie extends WsScore
|
||||
public function getScoreCutoff($siren)
|
||||
{
|
||||
$cutoffM = new Application_Model_JoScoresCutoff();
|
||||
$row = $cutoffM->find($infos['siren'])->current();
|
||||
$sql = $cutoffM->select()->where('siren=?', $siren);
|
||||
$row = $cutoffM->fetchRow($sql);
|
||||
if ( null === $row ) {
|
||||
$result = false;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user