Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…tructure
  • Loading branch information...
commit 55e168e3a38ee1bad68ec2e21a499ebd05fa55bc 1 parent 7f04dd6
Jérôme Mouneyrac mouneyrac authored nebgor committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/externallib.php
2  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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.