Fix PhanPluginRedundantAssignment
This commit is contained in:
parent
3c24140ccf
commit
fb2aadf006
1 changed files with 0 additions and 1 deletions
|
|
@ -673,7 +673,6 @@ class Propal extends CommonObject
|
|||
// Clean vat code
|
||||
$reg = array();
|
||||
$vat_src_code = '';
|
||||
$reg = array();
|
||||
if (preg_match('/\((.*)\)/', $txtva, $reg)) {
|
||||
$vat_src_code = $reg[1];
|
||||
$txtva = preg_replace('/\s*\(.*\)/', '', $txtva); // Remove code into vatrate.
|
||||
|
|
|
|||
Loading…
Reference in a new issue