Merge branch 'patch-1' into 'master'

Set $rowDatetime to int for comparison

See merge request framasoft/framadate/framadate!350
This commit is contained in:
Thomas Citharel 2018-11-05 16:25:04 +01:00
commit faa2ee1289
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ class AdminPollService {
// Search where to insert new column
foreach ($slots as $k=>$slot) {
$rowDatetime = $slot->title;
$rowDatetime = (int) $slot->title;
$moments = explode(',', $slot->moments);
if ($datetime === $rowDatetime) {