OSDN Git Service

FIX: AdminActions::parse_commentnavlist()がSQL文による重複した問い合わせをしていたバグ
authorsakamocchi <o-takashi@sakamocchi.jp>
Sun, 27 May 2012 02:59:44 +0000 (11:59 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Sun, 27 May 2012 02:59:44 +0000 (11:59 +0900)
listplug_navlist()に$resourceではなく$queryを渡していた。

nucleus/libs/AdminActions.php

index 0e1aca6..3253f08 100644 (file)
@@ -1752,7 +1752,7 @@ class AdminActions extends BaseActions
                                
                        $template['content'] = 'commentlist';
                                
-                       $this->parser->parse(listplug_navlist('comment', $query, 'table', $template));
+                       $this->parser->parse(listplug_navlist('comment', $resource, 'table', $template));
                }
                else
                {