Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f04dd6
)
MDL-32581 Web services : should force type of external_format_value structure
author
Jerome Mouneyrac
<jerome@moodle.com>
Wed, 6 Jun 2012 06:23:10 +0000
(14:23 +0800)
committer
Aparup Banerjee
<aparup@moodle.com>
Wed, 6 Jun 2012 06:29:45 +0000
(14:29 +0800)
lib/externallib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/externallib.php
b/lib/externallib.php
index
1913f45
..
da21ace
100644
(file)
--- a/
lib/externallib.php
+++ b/
lib/externallib.php
@@
-644,7
+644,7
@@
class external_format_value extends external_value {
. FORMAT_PLAIN . ' = PLAIN or '
. FORMAT_MARKDOWN . ' = MARKDOWN)';
- parent::__construct(
$type, $desc=''
, $required, $default);
+ parent::__construct(
PARAM_INT, $desc
, $required, $default);
}
}