Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fsfahrttool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fsini-informatik
fsfahrttool
Commits
3270bad2
Commit
3270bad2
authored
6 years ago
by
Daniel Bucher
Browse files
Options
Downloads
Plain Diff
Merge branch 'danielsFeatures' into 'master'
Daniels features See merge request
!7
parents
c7515eb1
cfdc7982
No related branches found
No related tags found
1 merge request
!7
Daniels features
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
registration-system/admin/pages_admin.php
+1
-1
1 addition, 1 deletion
registration-system/admin/pages_admin.php
registration-system/frameworks/Fahrt.php
+2
-1
2 additions, 1 deletion
registration-system/frameworks/Fahrt.php
with
3 additions
and
2 deletions
registration-system/admin/pages_admin.php
+
1
−
1
View file @
3270bad2
...
@@ -324,7 +324,7 @@ class AdminAdminPage extends AdminPage {
...
@@ -324,7 +324,7 @@ class AdminAdminPage extends AdminPage {
$this
->
getMessage
()
.
$this
->
getMessage
()
.
$this
->
getUserFileEditSection
()
.
$this
->
getUserFileEditSection
()
.
$this
->
getNeueFahrtSection
()
.
$this
->
getNeueFahrtSection
()
.
$this
->
getCurrentFahrtSelectorSection
()
.
'<br>'
.
$this
->
getCurrentFahrtSelectorSection
()
.
'<br>'
;
// $this->getArchiveSelectorSection() .'<br>';
// $this->getArchiveSelectorSection() .'<br>';
}
}
...
...
This diff is collapsed.
Click to expand it.
registration-system/frameworks/Fahrt.php
+
2
−
1
View file @
3270bad2
...
@@ -53,7 +53,8 @@ class Fahrt {
...
@@ -53,7 +53,8 @@ class Fahrt {
public
static
function
getAlleFahrten
()
{
public
static
function
getAlleFahrten
()
{
$tmpEnvironment
=
Environment
::
getEnv
();
$tmpEnvironment
=
Environment
::
getEnv
();
$fahrtenData
=
$tmpEnvironment
->
database
->
select
(
'fahrten'
,
Fahrt
::
$ALLOWED_FIELDS
,
'ORDER BY fahrt_id DESC'
);
// $fahrtenData = $tmpEnvironment->database->select('fahrten', Fahrt::$ALLOWED_FIELDS, 'ORDER BY fahrt_id DESC');
$fahrtenData
=
$tmpEnvironment
->
database
->
select
(
'fahrten'
,
Fahrt
::
$ALLOWED_FIELDS
,
[
"ORDER"
=>
[
"fahrt_id"
=>
"DESC"
]]);
if
(
empty
(
$fahrtenData
))
if
(
empty
(
$fahrtenData
))
return
null
;
return
null
;
...
...
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