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
94a17f53
Commit
94a17f53
authored
Nov 01, 2011
by
Francois Marier
Committed by
Gerrit Code Review
Nov 01, 2011
Browse files
Merge "Use a more appropriate sanitiser for the height variable"
parents
3fb9009f
c2b78c65
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/blocktype/googleapps/lib.php
View file @
94a17f53
...
...
@@ -51,7 +51,7 @@ class PluginBlocktypeGoogleApps extends SystemBlocktype {
$apps
=
self
::
make_apps_url
(
$configdata
[
'appsid'
]);
$url
=
hsc
(
$apps
[
'url'
]);
$type
=
hsc
(
$apps
[
'type'
]);
$height
=
(
!
empty
(
$configdata
[
'height'
]))
?
hsc
(
$configdata
[
'height'
])
:
self
::
$default_height
;
$height
=
(
!
empty
(
$configdata
[
'height'
]))
?
intval
(
$configdata
[
'height'
])
:
self
::
$default_height
;
if
(
isset
(
$configdata
[
'appsid'
]))
{
$smarty
=
smarty_core
();
...
...
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