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