Skip to content

Commit

Permalink
post時に正常に動作しないので修正しました。
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyoyo committed Mar 30, 2015
1 parent c26f010 commit 4d61023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nucleus/libs/showlist.php
Expand Up @@ -389,8 +389,9 @@ function listplug_nextBatchId() {

function listplug_table_commentlist($template, $type) {
static $amountComments = array();
global $action;

$colspan = 3;
$action = isset($_GET['action']) ? strval( $_GET['action'] ) : '';
if ( $action == 'blogcommentlist')
$colspan++;

Expand Down Expand Up @@ -459,7 +460,6 @@ function listplug_table_commentlist($template, $type) {
if ($template['canAddBan'])
echo "<td style=\"white-space:nowrap\"><a href='index.php?action=banlistnewfromitem&amp;itemid=$current->citem&amp;ip=", hsc($current->cip), "' title='", hsc($current->chost), "'>"._LIST_COMMENT_BANIP."</a></td>";

$action = isset($_GET['action']) ? strval( $_GET['action'] ) : '';
// add link
if ($action == 'blogcommentlist')
{
Expand Down

0 comments on commit 4d61023

Please sign in to comment.