Recherche par type de support


Error with the following message:

Undefined index: champ

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

Stack trace:

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

Code sample:

{

global $BddPulman;
$BddPulman = BDDPULMAN;
$champ = $_GET['champ'];
$lng = WDLOCALE_LANGUAGE == 'fr' ? 'fr' : 'gb';

$entries = $this->model()->query
(
'SELECT CLE, \'(\'||ABREVIATION ||\') \'||NOM' . $lng . ' AS support FROM '.$BddPulman.'.Typessupports ORDER BY NOM' . $lng
);

Résultats