Iptables.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 29 Mar 2013 08:43:32 +0000 (16:43 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 29 Mar 2013 08:43:32 +0000 (16:43 +0800)
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;