noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 06/219: Fix bug and esthetic : the var. dep c


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 06/219: Fix bug and esthetic : the var. dep can be empty
Date: Mon, 18 Dec 2017 13:22:26 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit cb97fb03be8aaaa6fb828d453266eb7abfc50a13
Author: Dany De Bontridder <address@hidden>
Date:   Tue Jul 11 17:05:41 2017 +0200

    Fix bug and esthetic : the var. dep can be empty
---
 include/ajax/ajax_get_profile.php | 1 +
 include/profile.inc.php           | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/ajax/ajax_get_profile.php 
b/include/ajax/ajax_get_profile.php
index 6fd062e..273b54c 100644
--- a/include/ajax/ajax_get_profile.php
+++ b/include/ajax/ajax_get_profile.php
@@ -58,6 +58,7 @@ $a_tab[$call_tab]='tabs_selected';
     <li class="<?php echo $a_tab['profile_gestion_div']?>"><a 
href="javascript:void(0)" style="" 
onclick="unselect_other_tab(this.parentNode.parentNode);this.parentNode.className='tabs_selected';profile_show('profile_gestion_div')"><?php
 echo _('Action Gestion')?> </a></li>
     <li class="<?php echo $a_tab['profile_repo_div']?>"><a 
href="javascript:void(0)"  
onclick="unselect_other_tab(this.parentNode.parentNode);this.parentNode.className='tabs_selected';profile_show('profile_repo_div')"><?php
 echo _('Dépôts')?></a>&nbsp;
 </ul>
+<div style="clear: both"></div>
 <?php endif; ?>
 
 <?php 
diff --git a/include/profile.inc.php b/include/profile.inc.php
index 9ed7da6..a1c52f7 100644
--- a/include/profile.inc.php
+++ b/include/profile.inc.php
@@ -426,7 +426,7 @@ if (isset($_POST['delete_profil']))
     <?php
 
 }
-$dep=$http->post("dep");
+$dep=$http->post("dep","string","");
 ?>
 <script>
     var selected_menu="<?php echo $dep;?>";



reply via email to

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