This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 2f0838cc1a659d7f906ac3a7caa520861a0ea78d (commit)
from 3db16f62d3ddec95746f71b79948ac5248687786 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=2f0838cc1a659d7f906ac3a7caa520861a0ea78d
commit 2f0838cc1a659d7f906ac3a7caa520861a0ea78d
Author: Franck Villaume <[email protected]>
Date: Sat Apr 17 19:40:38 2021 +0200
initialize var to avoid open transaction on isClean call
diff --git a/src/common/include/Validator.class.php
b/src/common/include/Validator.class.php
index e215257..a001597 100644
--- a/src/common/include/Validator.class.php
+++ b/src/common/include/Validator.class.php
@@ -3,6 +3,7 @@
* FusionForge field validator
*
* Copyright 2002, GForge, LLC
+ * Copyright 2021, Franck Villaume - TrivialDev
*
* This file is part of FusionForge. FusionForge is free software;
* you can redistribute it and/or modify it under the terms of the
@@ -34,7 +35,7 @@
*
*/
class Validator {
- var $badfields;
+ var $badfields = array();
/**
* Checks to see if a field is null; if so, the field name is added to
an internal array
-----------------------------------------------------------------------
Summary of changes:
src/common/include/Validator.class.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits