if there is no contact show a warning
This commit is contained in:
parent
91e9218f30
commit
75953bcf95
1 changed files with 5 additions and 0 deletions
|
|
@ -51,6 +51,11 @@
|
|||
<TD>
|
||||
<?php
|
||||
if ($g_user->can_write_action($this->ag_id) == true ):
|
||||
if ( $ag_contact->extra != "" ):
|
||||
echo $ag_contact->search().$ag_contact->input();
|
||||
else:
|
||||
echo _('Pas de catégorie de contact');
|
||||
endif;
|
||||
echo $ag_contact->search().$ag_contact->input();
|
||||
endif;
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue