--- a/admin/partialdata/importamendments.php +++ b/admin/partialdata/importamendments.php @@ -120,7 +120,6 @@ function importCN($cnid) { global $conn; - $CN = str_replace("-A", "00",$cnid); // check if already complete $query = 'Select "parentCN" from contractnotice where "CNID" = :CNID'; @@ -200,7 +199,6 @@ $fieldValue = trim(getTextFromNode($tr)); } $fieldValue = substr($fieldValue, 2); // take off the "CN" prefix - $fieldValue = str_replace("-A", "00", $fieldValue); // make amendments really big numbers } elseif ($fieldName == "description") { if (is_array($tra['td'])) $fieldValue = print_r($tra['td']['p'],true);