Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Projects
Groups
Snippets
Sign up now
Login
Sign in / Register
Toggle navigation
Menu
Open sidebar
Philipp
website_ezweb
Commits
8bd0bf0f
Commit
8bd0bf0f
authored
Oct 06, 2020
by
Philipp
Browse files
fixed return 0 for "getLastSort" when queue empty
parent
dbc41913
Changes
2
Hide whitespace changes
Inline
Side-by-side
dist/assets/classes/queue.class.php
View file @
8bd0bf0f
...
...
@@ -23,7 +23,7 @@ class queue {
return
'MYSQL_BIND_RESULTS'
;
}
else
{
if
(
!
$stmt
->
fetch
()
)
{
return
'MYSQL_FETCH'
;
return
0
;
}
else
{
return
$res
;
}
...
...
src/assets/classes/queue.class.php
View file @
8bd0bf0f
...
...
@@ -23,7 +23,7 @@ class queue {
return
'MYSQL_BIND_RESULTS'
;
}
else
{
if
(
!
$stmt
->
fetch
()
)
{
return
'MYSQL_FETCH'
;
return
0
;
}
else
{
return
$res
;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment