[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r522 - tag/rel660/rapport_avance/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r522 - tag/rel660/rapport_avance/include |
Date: |
Wed, 10 Jul 2013 19:18:05 +0200 (CEST) |
Author: danydb
Date: 2013-07-10 19:18:05 +0200 (Wed, 10 Jul 2013)
New Revision: 522
Modified:
tag/rel660/rapport_avance/include/formulaire.inc.php
Log:
Message si sauvegarde non possible
Modified: tag/rel660/rapport_avance/include/formulaire.inc.php
===================================================================
--- tag/rel660/rapport_avance/include/formulaire.inc.php 2013-06-29
17:32:53 UTC (rev 521)
+++ tag/rel660/rapport_avance/include/formulaire.inc.php 2013-07-10
17:18:05 UTC (rev 522)
@@ -36,10 +36,19 @@
}
else
{
- echo '<p class="notice">'._(' dernière sauvegarde
').date('d-m-Y H:i').'</p>';
- RAPAV_formulaire::save_definition($_POST);
+ //echo '<p class="notice">'._(' dernière sauvegarde
').date('d-m-Y H:i').'</p>';
+ try
+ {
+ RAPAV_formulaire::save_definition($_POST);
+ echo '<p class="notice">'._(' dernière sauvegarde
').date('d-m-Y H:i').'</p>';
+ }
+ catch (Exception $exc)
+ {
+ echo '<p class="notice">'._(' Impossible de
sauver').$exc->getMessage().'</p>';
+
+ //throw $exc;
+ }
require_once 'formulaire_definition_show.inc.php';
- echo '<p class="notice">'._(' dernière sauvegarde
').date('d-m-Y H:i').'</p>';
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] r522 - tag/rel660/rapport_avance/include,
phpcompta-dev <=