Permalink
Browse files

MDL-32581 Web services : should force type of external_format_value s…

…tructure
  • Loading branch information...
1 parent 7f04dd6 commit 55e168e3a38ee1bad68ec2e21a499ebd05fa55bc @mouneyrac mouneyrac committed with nebgor Jun 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/externallib.php
View
@@ -644,7 +644,7 @@ public function __construct($textfieldname, $required = VALUE_REQUIRED) {
. FORMAT_PLAIN . ' = PLAIN or '
. FORMAT_MARKDOWN . ' = MARKDOWN)';
- parent::__construct($type, $desc='', $required, $default);
+ parent::__construct(PARAM_INT, $desc, $required, $default);
}
}

0 comments on commit 55e168e

Please sign in to comment.