Skip to content

Commit

Permalink
Avoid localized decimal delimiter for integer
Browse files Browse the repository at this point in the history
Refs #12038
  • Loading branch information
dekarl committed Mar 17, 2014
1 parent a69c606 commit 5c6067f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tv/classes/Schedule.php
Expand Up @@ -291,7 +291,7 @@ public function save($new_type) {
// Make sure that recordid is null if it's empty
if (empty($this->recordid)) {
$this->recordid = NULL;
$this->findid = (date('U', $this->starttime)/60/60/24) + 719528;
$this->findid = Math.floor(date('U', $this->starttime)/60/60/24) + 719528;
// Only auto-default these properties if we're not dealing with a
// search-based recording rule, otherwise take the values we
// received from the custom schedule input form
Expand Down

0 comments on commit 5c6067f

Please sign in to comment.