Permalink
Browse files

Try to avoid uninitialized var error.

  • Loading branch information...
1 parent 376777c commit 8b1fd21329287e4d7d9078aa4cb7654a3bd596f4 @jamiemccarthy jamiemccarthy committed Apr 17, 2003
Showing with 2 additions and 1 deletion.
  1. +2 −1 plugins/Admin/templates/recent;admin;default
@@ -19,7 +19,8 @@ recent
__template__
[% PROCESS titlebar title="Recent Comments and Moderation" width='100%' %]
-[% IF startat > 0;
+[% startat = 0 IF !startat;
+ IF startat > 0;
next_startat = startat - 30;
IF next_startat < 0; next_startat = 0; END; %]
<form action="[% constants.rootdir %]/admin.pl" method="GET">

0 comments on commit 8b1fd21

Please sign in to comment.