summaryrefslogtreecommitdiff
path: root/pdf/cert_new.inc
diff options
context:
space:
mode:
authorSashi202019-05-15 15:46:32 +0530
committerSashi202019-05-15 15:46:32 +0530
commit3bc655817cec65d90cac822ae7f561c95658e198 (patch)
tree67d946617ec5ca65a91a1d7ab4a435f8af82a1d4 /pdf/cert_new.inc
parentd72c96889df292a9911876d68abe51a19df5a33b (diff)
downloadom_flowsheet-3bc655817cec65d90cac822ae7f561c95658e198.tar.gz
om_flowsheet-3bc655817cec65d90cac822ae7f561c95658e198.tar.bz2
om_flowsheet-3bc655817cec65d90cac822ae7f561c95658e198.zip
Modify links of the proposal form and project submission
Diffstat (limited to 'pdf/cert_new.inc')
-rwxr-xr-xpdf/cert_new.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf/cert_new.inc b/pdf/cert_new.inc
index 9b048d1..1202d92 100755
--- a/pdf/cert_new.inc
+++ b/pdf/cert_new.inc
@@ -6,7 +6,7 @@ function generate_pdf()
require($mpath.'/pdf/phpqrcode/qrlib.php');
global $user;
$x = $user->uid;
- $proposal_id = arg(3);
+ $proposal_id = arg(4);
$query3 = db_query("SELECT * FROM om_flowsheet_proposal WHERE approval_status=3 AND uid= :uid AND id=:proposal_id", array(
':uid' => $user->uid,
':proposal_id'=>$proposal_id
@@ -237,7 +237,7 @@ function generate_copyright_form_pdf()
require($mpath . '/pdf/fpdf/fpdf.php');
global $user;
$x = $user->uid;
- $proposal_id = arg(3);
+ $proposal_id = arg(4);
$query2 = db_query("SELECT id FROM om_flowsheet_proposal WHERE approval_status=3 AND uid= :uid", array(
':uid' => $user->uid
));
@@ -325,7 +325,7 @@ function generate_undertaking_form_pdf()
require($mpath . '/pdf/fpdf/fpdf.php');
global $user;
$x = $user->uid;
- $proposal_id = arg(3);
+ $proposal_id = arg(4);
$query2 = db_query("SELECT id FROM om_flowsheet_proposal WHERE approval_status=3 AND uid= :uid", array(
':uid' => $user->uid
));