Fix use of old db

This commit is contained in:
osaajani 2019-11-04 18:23:11 +01:00
parent 628527c70f
commit 46ebd39c04
6 changed files with 54 additions and 48 deletions

View file

@ -61,7 +61,6 @@ namespace controllers\publics;
if (!$this->verify_csrf($csrf))
{
\modules\DescartesSessionMessages\internals\DescartesSessionMessages::push('danger', 'Jeton CSRF invalid !');
return $this->redirect(\descartes\Router::url('Contact', 'list'));
}
@ -91,7 +90,6 @@ namespace controllers\publics;
*/
public function edit()
{
global $db;
$ids = $_GET['ids'] ?? [];
$contacts = $this->internal_contact->gets($ids);