Correction
This commit is contained in:
parent
991423a077
commit
0f922f7d02
@ -962,8 +962,8 @@ class Scores_Fields
|
||||
$out[] = $result[0]['libdep'];
|
||||
break;
|
||||
case 'R':
|
||||
$regionsM = new Application_Model_Departements();
|
||||
$sql = $regions->select()->from($regionsM, array('NCCENR'))->where('REGION = ?', substr($item,1));
|
||||
$regionsM = new Application_Model_Regions();
|
||||
$sql = $regionsM->select()->from($regionsM, array('NCCENR'))->where('REGION = ?', substr($item,1));
|
||||
$result = $regionsM->fetchAll($sql)->toArray();
|
||||
$out[] = $result[0]['NCCENR'];
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user