Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
f9e7fe6c
Commit
f9e7fe6c
authored
Dec 10, 2014
by
Son Nguyen
Committed by
Gerrit Code Review
Dec 10, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Making sure empty $values parameter is sent as array() (Bug #1400514)"
parents
2422dd9d
ee4a55fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
htdocs/artefact/lib.php
htdocs/artefact/lib.php
+1
-1
No files found.
htdocs/artefact/lib.php
View file @
f9e7fe6c
...
...
@@ -1117,7 +1117,7 @@ abstract class ArtefactType implements IArtefactType {
FROM {artefact_attachment} aa
INNER JOIN {artefact} a ON aa.attachment = a.id
LEFT JOIN {artefact_file_files} f ON a.id = f.artefact
WHERE aa.artefact IN ('
.
join
(
', '
,
array_map
(
'intval'
,
$artefactids
))
.
')'
,
''
);
WHERE aa.artefact IN ('
.
join
(
', '
,
array_map
(
'intval'
,
$artefactids
))
.
')'
,
array
()
);
if
(
!
$attachments
)
{
return
array
();
}
...
...
Write
Preview
Markdown
is supported
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