Iptables.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 29 Mar 2013 07:42:18 +0000 (15:42 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 29 Mar 2013 07:42:18 +0000 (15:42 +0800)
Iptables.php

index e897524..5df616a 100644 (file)
@@ -95,7 +95,7 @@ class Pman_Admin_Iptables extends Pman {
         $peps = $p->fetchAll('id');
         
         
-        switch( $e->getDatabaseConnection()->phptype) {
+        switch( $p->getDatabaseConnection()->phptype) {
             case 'mysql':
                 $interval = "INTERVAL 1 DAY";
                 break;