Bug : cannot print action in profil
Cannot add a export / printing in profile Conflicts: include/ajax/ajax_get_profile.php
This commit is contained in:
parent
cb97fb03be
commit
5980cc89bf
3 changed files with 4 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ if (isset($_POST['add_menu'])||isset($_POST['add_impress']))
|
|||
* Do not insert twice the same menu
|
||||
*/
|
||||
$duplicate = $cn->get_value(" select count(*) from profile_menu where "
|
||||
. " pm_id_dep = $1 and me_code = $2",array($p_dep,$me_code));
|
||||
. " pm_id_dep = $1 and me_code = $2",array($pm_id_dep,$me_code));
|
||||
if ( $duplicate > 0 ) {
|
||||
throw new Exception(_('Doublon'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue