[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/09: cannot remove empty periode
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/09: cannot remove empty periode |
Date: |
Sun, 23 Nov 2014 19:26:37 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit f7f0a45ab4f2712f4dd9816e2c9b97662b2449f7
Author: Dany De Bontridder <address@hidden>
Date: Sat Nov 22 00:21:41 2014 +0100
cannot remove empty periode
---
include/periode.inc.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/periode.inc.php b/include/periode.inc.php
index bf17522..2d476a7 100644
--- a/include/periode.inc.php
+++ b/include/periode.inc.php
@@ -91,7 +91,7 @@ if ( $action== "delete_per" )
$count=$cn->get_value("select count(*) from parm_periode;");
if ( $count > 1 ) {
$Res=$cn->exec_sql("delete from parm_periode where p_id=$p_per");
- }
+ } else
{
alert(' Désolé mais vous devez avoir au moins une période');
}
- [Noalyss-commit] [noalyss] branch master updated (016a84c -> 92ca5ce), Dany De Bontridder, 2014/11/23
- [Noalyss-commit] [noalyss] 02/09: Task #1045 - Amélioration apparence : Payment middle : style small button, Dany De Bontridder, 2014/11/23
- [Noalyss-commit] [noalyss] 07/09: Do not submit action if invalid value, Dany De Bontridder, 2014/11/23
- [Noalyss-commit] [noalyss] 03/09: Task #1045 - Amélioration apparence : Payment middle : style small button, Dany De Bontridder, 2014/11/23
- [Noalyss-commit] [noalyss] 04/09: Prototype.js remove the hack for autocomplete prob, Dany De Bontridder, 2014/11/23
- [Noalyss-commit] [noalyss] 06/09: navi_tb remove inline css, Dany De Bontridder, 2014/11/23
- [Noalyss-commit] [noalyss] 01/09: cannot remove empty periode,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/09: Prototype.js remove the hack for autocomplete prob, Dany De Bontridder, 2014/11/23
- [Noalyss-commit] [noalyss] 08/09: Task #1045 - Amélioration apparence : improve appearance Follow up Tiny button, Dany De Bontridder, 2014/11/23
- [Noalyss-commit] [noalyss] 09/09: Task #988 - FOLLOWUP : plusieurs intervenants Plusieurs intervenants pour les actions de gestion * ajax pour ajouter, enlever * dans la recherche, Dany De Bontridder, 2014/11/23