[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5111 - phpcompta/tags/rel650/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5111 - phpcompta/tags/rel650/include |
Date: |
Mon, 17 Sep 2012 20:55:14 +0200 (CEST) |
Author: danydb
Date: 2012-09-17 20:55:13 +0200 (Mon, 17 Sep 2012)
New Revision: 5111
Modified:
phpcompta/tags/rel650/include/ac_common.php
Log:
bug : show default module
Modified: phpcompta/tags/rel650/include/ac_common.php
===================================================================
--- phpcompta/tags/rel650/include/ac_common.php 2012-09-17 18:46:17 UTC (rev
5110)
+++ phpcompta/tags/rel650/include/ac_common.php 2012-09-17 18:55:13 UTC (rev
5111)
@@ -858,8 +858,8 @@
$default_module = $cn->get_array("select me_code
from profile_menu join profile_user using (p_id)
where
- user_name=$1 and p_order=(select min(p_order) from
profile_menu join profile_user using (p_id)
- where user_name=$2) limit 1", array($g_user->login,
$g_user->login));
+ p_type_display='M' and user_name=$1 and
p_order=(select min(p_order) from profile_menu join profile_user using (p_id)
+ where p_type_display='M' and user_name=$2) limit 1",
array($g_user->login, $g_user->login));
/*
* if nothing found, there is no profile for this user => exit
*/
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5111 - phpcompta/tags/rel650/include,
phpcompta-dev <=