Error with the following message:

Undefined index: HTTP_REFERER

in /www/html/template/laas-cnrs-2009/support/protected/modules/publications.basketv2/module.php at line 64

Stack trace:

#00 — (0): publications_basketv2_WdModule->operation_clear(Array)
#01 — /template/laas-cnrs-2009/support/framework/wdcore/wdmodule.php(476): call_user_func_array(Array, Array)
#02 — (0): WdModule->handleOperation(clear, Array)
#03 — /template/laas-cnrs-2009/support/framework/wdcore/wdcore.php(880): call_user_func_array(Array, Array)
#04 — /template/laas-cnrs-2009/support/framework/wdcore/wdcore.php(830): WdCore->dispatchOperation(publications.bas..., clear, Array)
#05 — /template/laas-cnrs-2009/support/protected/startup.php(38): WdCore->run()
#06 — /template/laas-cnrs-2009/support/startup.php(28): require_once(/www/html/templa...)
#07 — /index.php(33): require_once(/www/html/templa...)

Code sample:

private function finish_update()
{
return array
(
WdCore::OPERATION_RESPONSE_LOCATION => $_SERVER['HTTP_REFERER']
);
}

protected function block_view()
{
if (!$this->items)

Accueil | LAAS CNRS