Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
8cbce5ee
Commit
8cbce5ee
authored
Nov 29, 2006
by
Nigel McNie
Committed by
Nigel McNie
Nov 29, 2006
Browse files
Fix notice with multiple submit handling
parent
28ece213
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/pieforms/pieform.php
View file @
8cbce5ee
...
...
@@ -559,7 +559,7 @@ class Pieform {
$submitted
=
false
;
foreach
(
$this
->
get_elements
()
as
$element
)
{
// @todo Rename 'ajaxmessages' to 'submitelement'
if
(
$element
[
'ajaxmessages'
]
==
true
&&
isset
(
$values
[
$element
[
'name'
]]))
{
if
(
!
empty
(
$element
[
'ajaxmessages'
]
)
==
true
&&
isset
(
$values
[
$element
[
'name'
]]))
{
$function
=
"
{
$this
->
name
}
_submit_
{
$element
[
'name'
]
}
"
;
if
(
function_exists
(
$function
))
{
$function
(
$values
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment