Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bothive
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
bothive
Commits
9b063dd3
Commit
9b063dd3
authored
1 year ago
by
Kaustab Roy
Committed by
Bram Driesen
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3359932
by Kaustab_Roy, cgoffin: Request path condition negation doesn't work
parent
015c6c39
No related branches found
No related tags found
1 merge request
!13
Issue #3359932: Request path condition negation doesn't work
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Controller/BothiveController.php
+1
-1
1 addition, 1 deletion
src/Controller/BothiveController.php
with
1 addition
and
1 deletion
src/Controller/BothiveController.php
+
1
−
1
View file @
9b063dd3
...
...
@@ -52,7 +52,7 @@ class BothiveController {
$condition
=
$this
->
manager
->
createInstance
(
'request_path'
);
$condition
->
setConfiguration
(
$this
->
configFactory
->
get
(
'request_path'
));
if
(
$
condition
->
evaluate
(
)
&&
!
empty
(
$this
->
configFactory
->
get
(
'api_key'
)))
{
if
(
$
this
->
manager
->
execute
(
$condition
)
&&
!
empty
(
$this
->
configFactory
->
get
(
'api_key'
)))
{
// Attach the general widget code.
$page
[
'#attached'
][
'library'
][]
=
'bothive/bothive-widget'
;
// Initialise the chatbot and pass our settings.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment