diff --git a/include/ws_functions/pwg.php b/include/ws_functions/pwg.php index b714f1fb5..96cea0136 100644 --- a/include/ws_functions/pwg.php +++ b/include/ws_functions/pwg.php @@ -894,7 +894,7 @@ SELECT $i++; - if ($i < $first_line or $i > $last_line) + if ($i <= $first_line and $i >= $last_line) { continue; }