web commit by EthanGlasserCamp: This is probably better.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 8 Nov 2006 20:19:49 +0000 (20:19 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 8 Nov 2006 20:19:49 +0000 (20:19 +0000)
doc/patchqueue/skip_option_for_inline_plugin.mdwn

index 60be067177c2b99f81e721e9682d08c4c1d83d08..2bb29aebb2e3913787cfe8d4d437b629e7226ee8 100644 (file)
@@ -7,7 +7,7 @@ This addresses [[todo/skip_option_for_inline_plugin]].
                 return "unknown sort type $params{sort}";
         }
 
-    +   if ($params{skip}) {
+    +   if (exists $params{skip}) {
     +           @list=@list[$params{skip} .. scalar @list - 1];
     +
     +   }