[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 233/323: Backward comptability for SQL functi
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 233/323: Backward comptability for SQL function |
Date: |
Wed, 14 Mar 2018 17:38:56 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 96ae3669e862910747178d567f7c70801dd89162
Author: Dany De Bontridder <address@hidden>
Date: Fri Feb 23 08:02:26 2018 +0100
Backward comptability for SQL function
---
include/lib/database.class.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/lib/database.class.php b/include/lib/database.class.php
index 17a6bac..94b69c1 100644
--- a/include/lib/database.class.php
+++ b/include/lib/database.class.php
@@ -342,8 +342,9 @@ class Database
}
if ($flag_function)
{
- if (strpos(strtolower($buffer), "$$;")===false &&
- strpos(strtolower($buffer), '$_$;')===false
+ if ( strpos(strtolower($buffer), "$$;")===false &&
+ strpos(strtolower($buffer), '$_$;')===false &&
+ strpos(strtolower($buffer), 'language
plpgsql;')===false
)
{
$sql.=$buffer;
- [Noalyss-commit] [noalyss] 183/323: Task #0001536: Achat - Vente : n'utilisez que les codes TVA disponibles, (continued)
- [Noalyss-commit] [noalyss] 183/323: Task #0001536: Achat - Vente : n'utilisez que les codes TVA disponibles, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 215/323: Plugin : fix doc, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 213/323: Plugin : fix indent, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 234/323: Fix warning, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 230/323: index.css : CSS responsive, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 249/323: SQL Patch : correct syntax for new version, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 252/323: PLANANC : fix bug when creating first plan, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 226/323: Dashboard : remove dead code, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 217/323: Periode : fix bug, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 208/323: Missing file, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 233/323: Backward comptability for SQL function,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 264/323: Category Aged Balance add a start date, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 269/323: typo, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 270/323: check if open_basedir is empty, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 170/323: indent, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 207/323: Missing file, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 236/323: Merge tag 'rel6920', Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 175/323: Manage_Table_SQL : Improve Documentation + add function count_error, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 214/323: Plugin : fix indent, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 184/323: missing file, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 260/323: esthetic, Dany De Bontridder, 2018/03/14