Recherche par affectations


Error with the following message:

Undefined index: champ

in /www/html/template/laas-cnrs-2009/support/protected/modules/publicationsv2/module.php at line 1911

Stack trace:

#00 — /template/laas-cnrs-2009/support/framework/wdcore/wdmodule.php(580): call_user_func_array(Array, Array)
#01 — /1-31710-Recherche-par-affectations.php(73): WdModule->getBlock(groups)

Code sample:

global $BddPulman;
$BddPulman = BDDPULMAN;

$lng = WDLOCALE_LANGUAGE == 'fr' ? 'fr' : 'gb';
$champ = $_GET['champ'];
/*
$groups = $this->model()->query
(
'SELECT cle, \'(\' || abreviation || \') \' || nom' . $lng . '
FROM '.$BddPulman.'.affectations af
WHERE ESTLAAS = 1

Résultats