Iptables.php
[Pman.Admin] / Iptables.php
index 65930fe..8e17d3c 100644 (file)
@@ -251,6 +251,7 @@ class Pman_Admin_Iptables extends Pman {
         $rows = $this->readChain('postgres');
         if ($rows === false) {
             $this->createBase();
+            $rows = array();
         }
          
         $lastrulenum = 1;