noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 01/17: if there is no contact show a warning


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/17: if there is no contact show a warning
Date: Fri, 02 Oct 2015 10:22:12 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 75953bcf9537ec965c4c9053038d8e2c95813210
Author: Dany De Bontridder <address@hidden>
Date:   Tue Sep 15 07:26:13 2015 +0200

    if there is no contact show a warning
---
 include/template/detail-action.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/template/detail-action.php 
b/include/template/detail-action.php
index 7a95d32..582bd09 100644
--- a/include/template/detail-action.php
+++ b/include/template/detail-action.php
@@ -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;
             ?>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]