aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@balti.ukcod.org.uk>2010-04-23 22:59:24 +0100
committerMatthew Somerville <matthew@balti.ukcod.org.uk>2010-04-23 22:59:24 +0100
commitf9c20795a043507cfb5325ae5b54c4bff4751044 (patch)
tree036432e2551b3d540b45900ca7d240ef07f585c3
parent031843a56c085b2e13d168f41e9d954fc606d7b2 (diff)
Remember photo existence through report stage.
-rwxr-xr-xweb/index.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 3cdcd9af4..153234694 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -734,6 +734,7 @@ photo of the problem if you have one), etc.'));
$partial_id = mySociety::AuthToken::retrieve('partial', $token);
if ($partial_id) {
$vars{partial_field} = '<input type="hidden" name="partial" value="' . $token . '">';
+ $vars{partial_field} .= '<input type="hidden" name="has_photo" value="' . $q->param('has_photo') . '">';
}
}
my $photo_input = '';