Fix PhanPluginRedundantAssignment

This commit is contained in:
MDW 2024-03-13 00:29:03 +01:00
parent 3c24140ccf
commit fb2aadf006
No known key found for this signature in database

View file

@ -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.