Calendar: Fix resource rows were missing in planner by user

This commit is contained in:
nathangray 2020-08-06 13:20:25 -06:00
parent ccbacd9b5f
commit 7e65ec48bd

View File

@ -422,7 +422,7 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
this.invalidate();
},this);
}
else if(already_added.indexOf(''+user) < 0 && parseInt(user) >= 0)
else if(already_added.indexOf(''+user) < 0 && (isNaN(user) || parseInt(user) >= 0))
{
labels.push({
id: user,