OSDN Git Service

Controller::Archive: fix variable name typo
authorhylom <hylom@users.osdn.me>
Fri, 7 Jun 2019 17:19:55 +0000 (17:19 +0000)
committerhylom <hylom@users.osdn.me>
Fri, 7 Jun 2019 17:19:55 +0000 (17:19 +0000)
src/newslash_web/lib/Newslash/Web/Controller/Archive.pm

index 34eb328..27e27ca 100644 (file)
@@ -208,7 +208,7 @@ sub _render_archive {
               next_month => $next_month,
               prev_month_date => $prev_month_date,
               next_month_date => $next_month_date,
-              no_ad => (@items == 0),
+              no_ad => (@$items == 0),
               );
 
     if (@$items == 0) {