Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
ISPConfig
ISPConfig 3
Commits
4629c227
Commit
4629c227
authored
4 weeks ago
by
Till Brehm
Browse files
Options
Downloads
Patches
Plain Diff
Fix #6821 issue with ?? operator in PHP 8.3 in 100-mailbox_stats_hourly.inc.php
parent
996e3a91
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1985
Merge develop into postgres branch
,
!1974
Resolve "Fix issue with ?? operator in PHP 8.3 in 100-mailbox_stats_hourly.inc.php"
Pipeline
#15550
passed
4 weeks ago
Stage: syntax
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/lib/classes/cron.d/100-mailbox_stats_hourly.inc.php
+1
-1
1 addition, 1 deletion
server/lib/classes/cron.d/100-mailbox_stats_hourly.inc.php
with
1 addition
and
1 deletion
server/lib/classes/cron.d/100-mailbox_stats_hourly.inc.php
+
1
−
1
View file @
4629c227
...
...
@@ -96,7 +96,7 @@ class cronjob_mailbox_stats_hourly extends cronjob {
$matches
=
[];
// Match pop3/imap logings, or alternately smtp logins.
if
(
preg_match
(
'/(.*) (imap|pop3)-login: Login: user=\<([\w\.@-]+)\>/'
,
$line
,
$matches
)
||
preg_match
(
'/(.*) sasl_method=PLAIN, sasl_username=([\w\.@-]+)/'
,
$line
,
$matches
))
{
$user
=
$matches
[
3
]
?
?
$matches
[
2
];
$user
=
isset
(
$matches
[
3
]
)
?
$matches
[
3
]
:
$matches
[
2
];
$updatedUsers
[]
=
$user
;
}
...
...
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