Browse code

fix a warning

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1456 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on05/09/2009 08:48:41
Showing1 changed files
... ...
@@ -106,7 +106,7 @@ if ($_GET['action'] == 'edit')
106 106
 
107 107
   $cert = (int) $_POST['cert'];
108 108
 
109
-  $ipv4 = $_POST['ipv4'];
109
+  $ipv4 = (isset($_POST['ipv4']) ? $_POST['ipv4'] : NULL);
110 110
 
111 111
   $logtype = '';
112 112
   switch ($_POST['logtype']) {