Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NextcloudPlugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stud.IP
Plugins
NextcloudPlugin
Commits
16fb0200
Commit
16fb0200
authored
Jul 24, 2024
by
Murtaza Sultani
Browse files
Options
Downloads
Patches
Plain Diff
Fix file name issue on post error and success notification
parent
3b4f1694
No related branches found
No related tags found
1 merge request
!1
made plugin compatible with Stud.IP 5.5 and PHP 8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
controllers/file.php
+2
-2
2 additions, 2 deletions
controllers/file.php
with
2 additions
and
2 deletions
controllers/file.php
+
2
−
2
View file @
16fb0200
...
@@ -114,7 +114,7 @@ class FileController extends PluginController
...
@@ -114,7 +114,7 @@ class FileController extends PluginController
PageLayout
::
postError
(
PageLayout
::
postError
(
sprintf
(
sprintf
(
dgettext
(
'NextcloudPlugin'
,
'Ein Fehler trat auf beim Aktualisieren der Datei „%s“.'
),
dgettext
(
'NextcloudPlugin'
,
'Ein Fehler trat auf beim Aktualisieren der Datei „%s“.'
),
htmlReady
(
$this
->
file
_ref
->
name
)
htmlReady
(
$this
->
file
->
getFile
name
()
)
),
),
$this
->
errors
$this
->
errors
);
);
...
@@ -122,7 +122,7 @@ class FileController extends PluginController
...
@@ -122,7 +122,7 @@ class FileController extends PluginController
PageLayout
::
postSuccess
(
PageLayout
::
postSuccess
(
sprintf
(
sprintf
(
dgettext
(
'NextcloudPlugin'
,
'Die Datei „%s“ wurde aktualisiert!'
),
dgettext
(
'NextcloudPlugin'
,
'Die Datei „%s“ wurde aktualisiert!'
),
htmlReady
(
$this
->
file
_ref
->
name
)
htmlReady
(
$this
->
file
->
getFile
name
()
)
)
)
);
);
}
}
...
...
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