Merge branch 'patch-1' into 'master'
Set $rowDatetime to int for comparison See merge request framasoft/framadate/framadate!350
This commit is contained in:
commit
faa2ee1289
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue