[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 10/10: Bug : p_mesg is not set with writing r
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 10/10: Bug : p_mesg is not set with writing report |
Date: |
Thu, 27 Aug 2015 01:33:58 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 44ecba2e586fd5a24946e5277e3c384d137be40d
Author: Dany De Bontridder <address@hidden>
Date: Thu Aug 27 03:27:10 2015 +0200
Bug : p_mesg is not set with writing report
---
include/operation_ods_new.inc.php | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/include/operation_ods_new.inc.php
b/include/operation_ods_new.inc.php
index 72dcf9f..6b817b0 100644
--- a/include/operation_ods_new.inc.php
+++ b/include/operation_ods_new.inc.php
@@ -65,17 +65,17 @@ if ( isset ($_GET['action']) && ! isset($_POST['correct']))
{
if ( $_GET['action']=='use_opd')
{
- // get data from predef. operation
- $op=new Pre_op_advanced($cn);
- $p_post=null;
- if ( isset($_REQUEST['pre_def']) && $_REQUEST['pre_def'] != '')
- {
- $op->set_od_id($_REQUEST['pre_def']);
- $p_post=$op->compute_array();
- }
+ // get data from predef. operation
+ $op=new Pre_op_advanced($cn);
+ $p_post=null;
+ if ( isset($_REQUEST['pre_def']) && $_REQUEST['pre_def'] != '')
+ {
+ $op->set_od_id($_REQUEST['pre_def']);
+ $p_post=$op->compute_array();
+ }
}
}
-
+$p_msg=(isset($p_msg))?$p_msg:"";
print '<p class="notice">'.$p_msg.'</p>';
echo '<form method="post" class="print">';
echo dossier::hidden();
- [Noalyss-commit] [noalyss] branch master updated (47c5763 -> 44ecba2), Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 01/10: security, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 02/10: Cosmetic on small screen, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 04/10: Improve code, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 03/10: Code documentation, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 06/10: Menu : possibility to enter a AD directly without parent menu, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 07/10: cosmetic, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 08/10: traduction, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 09/10: Open a new tab for VERIFBIL, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 05/10: Correct export CSV and PDF, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 10/10: Bug : p_mesg is not set with writing report,
Dany De Bontridder <=