Permalink
Browse files

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

…moodle into MOODLE_33_STABLE
  • Loading branch information...
dmonllao committed May 22, 2017
2 parents c708549 + 1fcfc99 commit f96167c02e48bae20239a8ce37d4796c9dd3d259
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 f96167c

Please sign in to comment.