Permalink
Browse files

Merge branch 'MOODLE_32_STABLE-MDL-56973' of https://github.com/fwsl/…

…moodle into MOODLE_32_STABLE
  • Loading branch information...
dmonllao committed May 22, 2017
2 parents 78f7595 + 25e3a8a commit fb0e1b10fe60e1318407398365d855d798acb06f
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/wiki/create.php
@@ -27,8 +27,6 @@
// 'create' action will create a new page in db, and redirect to
// page editing page.
$action = optional_param('action', 'new', PARAM_TEXT);
// The title of the new page, can be empty
$title = optional_param('title', get_string('newpage', 'wiki'), PARAM_TEXT);
$wid = optional_param('wid', 0, PARAM_INT);
$swid = optional_param('swid', 0, PARAM_INT);
$group = optional_param('group', 0, PARAM_INT);
@@ -86,6 +84,8 @@
require_login($course, true, $cm);
// The title of the new page, cannot be empty.
$title = optional_param('title', get_string('newpage', 'wiki'), PARAM_TEXT);
$wikipage = new page_wiki_create($wiki, $subwiki, $cm);
if (!empty($swid)) {

0 comments on commit fb0e1b1

Please sign in to comment.