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 2acd58ca729368012f2dd051e298237a95250ccd (commit)
from 31a385b17ae234e8d67da354c299d2533d63d9d7 (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=2acd58ca729368012f2dd051e298237a95250ccd
commit 2acd58ca729368012f2dd051e298237a95250ccd
Author: Franck Villaume <[email protected]>
Date: Sun Sep 18 15:58:42 2016 +0200
use getArrayFromRequest to get Array, not getString
diff --git a/src/common/tracker/actions/admin-updates.php
b/src/common/tracker/actions/admin-updates.php
index 7256a7e..e14c442 100644
--- a/src/common/tracker/actions/admin-updates.php
+++ b/src/common/tracker/actions/admin-updates.php
@@ -291,7 +291,7 @@ if (getStringFromRequest('add_extrafield')) {
$ao->clearError();
} else {
$feedback .= _('Element updated');
- $parentElements =
getStringFromRequest('parent_elements', array());
+ $parentElements =
getArrayFromRequest('parent_elements', array());
if (!$ao->saveParentElements($parentElements)) {
$error_msg .= _('Update failed')._(':
').$ao->getErrorMessage();
$ao->clearError();
-----------------------------------------------------------------------
Summary of changes:
src/common/tracker/actions/admin-updates.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits