@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | for ($i = 1; $i <= 9; $i += 2) { |
97 | - $c = 2 * ( ord($partitaIva[$i]) - ord("0") ); |
|
97 | + $c = 2*(ord($partitaIva[$i]) - ord("0")); |
|
98 | 98 | if ($c > 9) { |
99 | 99 | $c = $c - 9; |
100 | 100 | } |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | $valid = false; |
106 | 106 | } |
107 | 107 | |
108 | - if (preg_match("/^0([0-9][1-9]|[1-9][0-9])|100|120|121|888|999/",substr($partitaIva,7,3))) { |
|
108 | + if (preg_match("/^0([0-9][1-9]|[1-9][0-9])|100|120|121|888|999/", substr($partitaIva, 7, 3))) { |
|
109 | 109 | $valid = true; |
110 | 110 | } |
111 | 111 |