Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
faa1fb1c
Commit
faa1fb1c
authored
9 years ago
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove extra colon
parent
88a1e431
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
question-post.php
qa-include/pages/question-post.php
+3
-3
No files found.
qa-include/pages/question-post.php
View file @
faa1fb1c
...
...
@@ -531,7 +531,7 @@
'details'
=>
array
(
'tags'
=>
'name="q_close_details" id="q_close_details"'
,
'label'
=>
'<span id="close_label_other">'
.
qa_lang_html
(
'question/close_reason_title'
)
.
'
:
</span>'
,
'<span id="close_label_other">'
.
qa_lang_html
(
'question/close_reason_title'
)
.
'</span>'
,
'value'
=>
@
$in
[
'details'
],
'error'
=>
qa_html
(
@
$errors
[
'details'
]),
),
...
...
@@ -575,9 +575,9 @@
$cookieid
=
qa_cookie_get
();
$isduplicateurl
=
filter_var
(
$in
[
'details'
],
FILTER_VALIDATE_URL
);
if
(
!
qa_check_form_security_code
(
'close-'
.
$question
[
'postid'
],
qa_post_text
(
'code'
)))
{
$errors
[
'details'
]
=
qa_lang_html
(
'misc/form_security_again'
);
$errors
[
'details'
]
=
qa_lang_html
(
'misc/form_security_again'
);
}
elseif
(
$isduplicateurl
)
{
// be liberal in what we accept, but there are two potential unlikely pitfalls here:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment