MDL-60443 dataformat lib: Change a wrong variable name
authorDavid Herney <davidherney@gmail.com>
Tue, 28 Nov 2017 01:15:30 +0000 (20:15 -0500)
committerJun Pataleta <jun@moodle.com>
Wed, 6 Dec 2017 06:53:34 +0000 (19:53 +1300)
commitd52e5dd32df7f0caecb51812617a8bb4f1e3e666
treea4f9045afad779a9932eb94e202c20beda9f9792
parentf013112752a18252d9ba4b951688711154c5c048
MDL-60443 dataformat lib: Change a wrong variable name

The variable $type really is $dataformat. I have changed it for
prevent the error and show a correct error message.
lib/dataformatlib.php