Completed
Pull Request — newinternal (#547)
by Simon
05:45
created
smarty-plugins/modifier.iphex.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 {
11 11
     $output = $input;
12 12
 
13
-    if(filter_var($input, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) !== false){
13
+    if(filter_var($input, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) !== false) {
14 14
         $octets = explode('.', $input);
15 15
         $output = '';
16
-        foreach ($octets as $octet){
16
+        foreach ($octets as $octet) {
17 17
             $output .= str_pad(dechex($octet), 2, '0', STR_PAD_LEFT);
18 18
         }
19 19
 
Please login to merge, or discard this patch.