Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
snac
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
snac
snac
Commits
bd88dbf5
Commit
bd88dbf5
authored
Aug 01, 2023
by
Jason Jordan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up undefined variable errors, exposed by analytics recording
parent
b4fcf94d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
WebUI.php
src/snac/client/webui/WebUI.php
+1
-0
WebUIExecutor.php
src/snac/client/webui/WebUIExecutor.php
+1
-1
No files found.
src/snac/client/webui/WebUI.php
View file @
bd88dbf5
...
...
@@ -259,6 +259,7 @@ class WebUI implements \snac\interfaces\ServerInterface {
// Workflow: Handle user commands, perform actions
// *************************************************
$response
=
""
;
switch
(
$this
->
input
[
"command"
])
{
...
...
src/snac/client/webui/WebUIExecutor.php
View file @
bd88dbf5
...
...
@@ -4091,7 +4091,7 @@ class WebUIExecutor {
*/
public
function
recordAnalytics
(
$input
)
{
$request
=
[
"command"
=>
"analytics"
];
$request
[
"icid"
]
=
$input
[
"icid"
]
;
$request
[
"icid"
]
=
isset
(
$input
[
"icid"
])
?
$input
[
"icid"
]
:
""
;
$request
[
"url"
]
=
$input
[
"url"
];
$request
[
"repo_ic_id"
]
=
$input
[
"repo_ic_id"
];
$this
->
connect
->
query
(
$request
);
...
...
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