Update soft_copy.php
[clinton/MarylandElectronicPetitionSignature.git] / soft_copy.php
index 1c1c1b5..0d397ac 100644 (file)
@@ -10,7 +10,7 @@ $DOB    = $d['date_of_birth'];
 $SIGNED = $d['date_time_signed'];
 $PETITION_ID = $d['petition_id'];
 $signed_name_as = $d['signed_name_as'];
-
+$signed_name_as_circulator = $d['signed_name_as_circulator'];
 if ($_COOKIE['pVTRID'] != $d['VTRID']){
  die('Error #294');
 }
@@ -90,7 +90,7 @@ imagettftext($jpg_image, 40, 0, 100, 3065, $black, $font_path, $_COOKIE['pADDRES
 // phone
 imagettftext($jpg_image, 40, 0, 100, 3160, $black, $font_path, $_COOKIE['pPHONE']);
 // signed
-imagettftext($jpg_image, 70, 0, 1290, 3160, $black, $font_path_sig, $signed_name_as);
+imagettftext($jpg_image, 70, 0, 1290, 3160, $black, $font_path_sig, $signed_name_as_circulator);
 // date signed
 imagettftext($jpg_image, 50, 0, 2150, 3160, $black, $font_path, date('m / d / y',strtotime($SIGNED)));