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
integration
prechecker
Commits
142d17da
Commit
142d17da
authored
Jun 29, 2015
by
David Monllaó
Browse files
Merge branch 'MDL-50652_28' of
git://github.com/reskit/moodle
into MOODLE_28_STABLE
parents
860a35db
f81f6bbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod/workshop/mod_form.php
View file @
142d17da
...
...
@@ -328,7 +328,7 @@ class mod_workshop_mod_form extends moodleform_mod {
* @return array eventual errors indexed by the field name
*/
public
function
validation
(
$data
,
$files
)
{
$errors
=
ar
ray
(
);
$errors
=
p
ar
ent
::
validation
(
$data
,
$files
);
// check the phases borders are valid
if
(
$data
[
'submissionstart'
]
>
0
and
$data
[
'submissionend'
]
>
0
and
$data
[
'submissionstart'
]
>=
$data
[
'submissionend'
])
{
...
...
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