fix creating dailies

This commit is contained in:
Phillip Thelen 2016-03-24 01:04:37 +01:00
parent b869f0c93e
commit b9059bc2a5

View file

@ -315,7 +315,9 @@ public class Task extends BaseModel {
* This array contains 7 values, one for each days, starting from monday.
*/
public Days getRepeat() {
if (repeat == null) { return new Days(); }
if (repeat == null) {
repeat = new Days();
}
return repeat;
}
/**