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
095f2a4c
Commit
095f2a4c
authored
Feb 10, 2014
by
pupi1985
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced array access by variable access.
parent
33660132
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
qa-page-question-post.php
qa-include/qa-page-question-post.php
+2
-2
No files found.
qa-include/qa-page-question-post.php
View file @
095f2a4c
...
@@ -852,8 +852,8 @@
...
@@ -852,8 +852,8 @@
// The 'approve', 'login', 'confirm', 'userblock', 'ipblock' permission errors are reported to the user here
// The 'approve', 'login', 'confirm', 'userblock', 'ipblock' permission errors are reported to the user here
// The other option ('level') prevents the comment button being shown, in qa_page_q_post_rules(...)
// The other option ('level') prevents the comment button being shown, in qa_page_q_post_rules(...)
$
answer
=
(
$question
[
'postid'
]
==
$parent
[
'postid'
])
?
null
:
$parent
;
$
parentid
=
$parent
[
'postid'
]
;
$
parentid
=
$parent
[
'postid'
]
;
$
answer
=
(
$question
[
'postid'
]
==
$parentid
)
?
null
:
$parent
;
switch
(
qa_user_post_permit_error
(
'permit_post_c'
,
$parent
,
QA_LIMIT_COMMENTS
))
{
switch
(
qa_user_post_permit_error
(
'permit_post_c'
,
$parent
,
QA_LIMIT_COMMENTS
))
{
case
'login'
:
case
'login'
:
...
...
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