<?php
/***************************************************************************
- * Copyright (C) 2003-2008 Polytechnique.org *
+ * Copyright (C) 2003-2010 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
S::assert_xsrf_token();
}
- if (!Post::has('liste')) {
+ if (!Post::has('liste') || !Post::v('liste')) {
$page->trigError('Le champs « adresse souhaitée » est vide.');
return;
}