Commit faa2ee12 authored by Thomas Citharel's avatar Thomas Citharel
Browse files

Merge branch 'patch-1' into 'master'

Set $rowDatetime to int for comparison

See merge request framasoft/framadate/framadate!350
parents e3060e18 46338cc0
Pipeline #2391 canceled with stage
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment