|
From: <var...@us...> - 2021-09-17 10:48:56
|
Revision: 10560
http://sourceforge.net/p/phpwiki/code/10560
Author: vargenau
Date: 2021-09-17 10:48:53 +0000 (Fri, 17 Sep 2021)
Log Message:
-----------
lib/plugin/WikiAdminRename.php: avoid warning
Modified Paths:
--------------
trunk/lib/plugin/WikiAdminRename.php
Modified: trunk/lib/plugin/WikiAdminRename.php
===================================================================
--- trunk/lib/plugin/WikiAdminRename.php 2021-09-17 08:59:20 UTC (rev 10559)
+++ trunk/lib/plugin/WikiAdminRename.php 2021-09-17 10:48:53 UTC (rev 10560)
@@ -120,7 +120,7 @@
!empty($post_args['createredirect']));
}
}
- if ($post_args['action'] == 'select') {
+ if (is_array($post_args) && ($post_args['action'] == 'select')) {
if (!empty($post_args['from'])) {
$next_action = 'verify';
}
@@ -133,9 +133,6 @@
$pages = $this->collectPages($pages, $dbi, $args['sortby'],
$args['limit'], $args['exclude']);
}
- /*if ($next_action == 'verify') {
- $args['info'] = "checkbox,pagename,renamed_pagename";
- }*/
$pagelist = new PageList_Selectable(
$args['info'], $args['exclude'],
array('types' =>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|