[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 17/35: Limit email : fix small bugs
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 17/35: Limit email : fix small bugs |
Date: |
Tue, 24 May 2016 21:25:39 +0000 (UTC) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit dfb68402e0afb7a2501365cb6fd5f601a22223b4
Author: Dany De Bontridder <address@hidden>
Date: Tue Apr 19 13:53:50 2016 +0200
Limit email : fix small bugs
---
include/dossier.inc.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/dossier.inc.php b/include/dossier.inc.php
index 4cabf85..8fe2e90 100644
--- a/include/dossier.inc.php
+++ b/include/dossier.inc.php
@@ -95,9 +95,9 @@ if ( isset ($_POST["DATABASE"]) )
try
{
$repo->start();
-
+ if (isNumber($max_email) == 0) $max_email=-1;
$Res=$repo->exec_sql("insert into
ac_dossier(dos_name,dos_description,dos_email)
- values ($1,$2)",array($dos,$desc,$max_email));
+ values ($1,$2,$3)",array($dos,$desc,$max_email));
$l_id=$repo->get_current_seq('dossier_id');
$repo->commit();
}
@@ -345,6 +345,7 @@ if ( $sa == 'list' )
<?php
$max_email_input=new INum('max_email');
$max_email_input->prec=0;
+ $max_email_input->value=-1;
echo $max_email_input->input();
?>
</td>
- [Noalyss-commit] [noalyss] branch master updated (2fed7bc -> 008ed58), Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 08/35: Improve Admin/user , use new alert box, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 10/35: Sendmail : Remove dead code, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 14/35: Translation, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 17/35: Limit email : fix small bugs,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 01/35: fid.php : retrieve parameters with safe function, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 22/35: Acc_Ledger_Sold : avoid message when undefined variable, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 12/35: Translation, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 18/35: Documentation sorttable_nosort, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 15/35: Bug : wrong url to update folders, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 27/35: Merge branch 'master' of ssh://ns2git/srv/git/noalyss, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 05/35: Add defined value OFFICE and GENERATE_PDF, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 02/35: Extension : fix path, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 26/35: Import IText, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 23/35: Fix several small bugs, Dany De Bontridder, 2016/05/24