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
eb00746b
Commit
eb00746b
authored
Oct 14, 2011
by
Francois Marier
Committed by
Gerrit Code Review
Oct 14, 2011
Browse files
Merge "Fix fatal error in gallery on public profiles (bug #872672)"
parents
f327a58b
8c320e23
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/file/blocktype/gallery/lib.php
View file @
eb00746b
...
@@ -345,6 +345,7 @@ class PluginBlocktypeGallery extends PluginBlocktype {
...
@@ -345,6 +345,7 @@ class PluginBlocktypeGallery extends PluginBlocktype {
}
}
}
}
else
{
else
{
safe_require
(
'artefact'
,
'file'
);
$artefactids
=
array
();
$artefactids
=
array
();
if
(
isset
(
$configdata
[
'select'
])
&&
$configdata
[
'select'
]
==
1
&&
is_array
(
$configdata
[
'artefactids'
]))
{
if
(
isset
(
$configdata
[
'select'
])
&&
$configdata
[
'select'
]
==
1
&&
is_array
(
$configdata
[
'artefactids'
]))
{
$artefactids
=
$configdata
[
'artefactids'
];
$artefactids
=
$configdata
[
'artefactids'
];
...
...
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