HCoop
/
clinton
/
MarylandElectronicPetitionSignature.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdb56a5
)
Update print.php
author
Patrick McGuire
<insidenothing@gmail.com>
Mon, 25 May 2020 15:24:22 +0000
(11:24 -0400)
committer
GitHub
<noreply@github.com>
Mon, 25 May 2020 15:24:22 +0000
(11:24 -0400)
admin/print.php
patch
|
blob
|
blame
|
history
diff --git
a/admin/print.php
b/admin/print.php
index
7aea0cd
..
ec79a1b
100644
(file)
--- a/
admin/print.php
+++ b/
admin/print.php
@@
-3,9
+3,11
@@
include_once('/var/www/secure.php');
include_once('../slack.php');
$id = intval($_GET['id']);
$name=$_GET['name'];
+$now = date('r');
if ($id == 0 || $name == ''){
die("Error #".__LINE__);
}
+$petition->query("update signatures set printed_status = '$name printed on $now' where id = '$id' ");
$q = "select * from signatures where id = '$id' ";
$r = $petition->query($q);
$d = mysqli_fetch_array($r);