Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
voting.typo3.org
extensions
election
Commits
11859f45
Commit
11859f45
authored
Jan 24, 2016
by
Stefan Busemann
Browse files
[BUGFIX] Return true, if enddate is not given
parent
41624077
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Domain/Model/Election.php
View file @
11859f45
...
...
@@ -192,6 +192,9 @@ class Election extends AbstractEntity
*/
public
function
isElectionFinished
()
{
if
(
$this
->
getEndDate
()
===
NULL
)
{
return
true
;
}
if
(
$this
->
getEndDate
()
->
getTimestamp
()
<
time
())
{
return
true
;
}
else
{
...
...
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