[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5063 - phpcompta/tags/rel650/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5063 - phpcompta/tags/rel650/include |
Date: |
Sun, 1 Jul 2012 17:42:32 +0200 (CEST) |
Author: danydb
Date: 2012-07-01 17:42:31 +0200 (Sun, 01 Jul 2012)
New Revision: 5063
Modified:
phpcompta/tags/rel650/include/class_impress.php
Log:
correct check_formula
Modified: phpcompta/tags/rel650/include/class_impress.php
===================================================================
--- phpcompta/tags/rel650/include/class_impress.php 2012-06-30 17:36:51 UTC
(rev 5062)
+++ phpcompta/tags/rel650/include/class_impress.php 2012-07-01 15:42:31 UTC
(rev 5063)
@@ -223,7 +223,9 @@
// remove account
$p_string= preg_replace("/\[[0-9]*[A-Z]*%*\]/", "", $p_string);
- $p_string= preg_replace("/\+|-|\/\*/", "", $p_string);
+ $p_string= preg_replace("/\+|-|\/|\*/", "", $p_string);
+ $p_string= preg_replace("/[0-9]*\.*[0-9]/", "", $p_string);
+
//********************************************************************************************************************
// If the string is empty then formula should be good
//
---
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] r5063 - phpcompta/tags/rel650/include,
phpcompta-dev <=