Skip to content

Commit ed00012

Browse files
committed
Use prefix for template variable for is_recaptcha
1 parent 10e3c3c commit ed00012

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

controller/main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ private function display_pb()
610610

611611
'FILESIZE' => $this->config['max_filesize'],
612612

613-
'IS_RECAPTCHA' => $is_recaptcha,
613+
'PASTEBIN_IS_RECAPTCHA' => $is_recaptcha,
614614

615615
'S_FORM_ENCTYPE' => ' enctype="multipart/form-data"',
616616
'S_ERROR' => (isset($s_error)) ? $s_error : '',

styles/prosilver/template/pastebin_post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h3>{{ lang('PASTEBIN_SNIPPET_TEXT') }}</h3>
5454
</fieldset>
5555

5656
{% if PASTEBIN_CAPTCHA_TEMPLATE %}
57-
{% if not IS_RECAPTCHA %}
57+
{% if not PASTEBIN_IS_RECAPTCHA %}
5858
<h3>{{ lang('PASTEBIN_CONFIRM') }}</h3>
5959
<p>{{ lang('PASTEBIN_CONFIRM_EXPLAIN') }}</p>
6060
{% endif %}

0 commit comments

Comments
 (0)