From 5c6067f1d31a3fcd7cfd93631df84f18fab7750f Mon Sep 17 00:00:00 2001
From: Karl Dietz <dekarl@mythtv.org>
Date: Mon, 17 Mar 2014 21:17:33 +0100
Subject: [PATCH] Avoid localized decimal delimiter for integer
Refs #12038
---
modules/tv/classes/Schedule.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/tv/classes/Schedule.php b/modules/tv/classes/Schedule.php
index a631d06..0c54c5a 100644
|
a
|
b
|
class Schedule extends MythBase {
|
| 291 | 291 | // Make sure that recordid is null if it's empty |
| 292 | 292 | if (empty($this->recordid)) { |
| 293 | 293 | $this->recordid = NULL; |
| 294 | | $this->findid = (date('U', $this->starttime)/60/60/24) + 719528; |
| | 294 | $this->findid = Math.floor(date('U', $this->starttime)/60/60/24) + 719528; |
| 295 | 295 | // Only auto-default these properties if we're not dealing with a |
| 296 | 296 | // search-based recording rule, otherwise take the values we |
| 297 | 297 | // received from the custom schedule input form |