Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp-module-proxystatistics
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp-module-proxystatistics
Commits
9c562fc6
Unverified
Commit
9c562fc6
authored
6 years ago
by
Pavel Vyskočil
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #8 from BaranekD/bugfix
Bugfix: errors in log when user opens statistics for the fisrt time
parents
870d515b
79a273a1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+2
-0
2 additions, 0 deletions
CHANGELOG.md
www/index.php
+4
-0
4 additions, 0 deletions
www/index.php
with
6 additions
and
0 deletions
CHANGELOG.md
+
2
−
0
View file @
9c562fc6
...
...
@@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file.
## [Unreleased]
[Fixed]
-
set default value of lastDays and tab in index.php: no error logs when user open statistics for the first time
## [v1.4.1]
[Fixed]
...
...
This diff is collapsed.
Click to expand it.
www/index.php
+
4
−
0
View file @
9c562fc6
...
...
@@ -7,6 +7,10 @@ $config = SimpleSAML_Configuration::getInstance();
$session
=
SimpleSAML_Session
::
getSessionFromRequest
();
$t
=
new
SimpleSAML_XHTML_Template
(
$config
,
'proxystatistics:statistics-tpl.php'
);
if
(
!
isset
(
$_POST
[
'lastDays'
])
||
!
isset
(
$_POST
[
'tab'
]))
{
$_POST
[
'lastDays'
]
=
0
;
$_POST
[
'tab'
]
=
1
;
}
$t
->
data
[
'lastDays'
]
=
$_POST
[
'lastDays'
];
$t
->
data
[
'tab'
]
=
$_POST
[
'tab'
];
$t
->
show
();
...
...
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