contrib/benitlux: add `Beer::id`
[nit.git] / contrib / benitlux / src / correct.nit
index 3c2384c..b840e3d 100644 (file)
@@ -68,7 +68,7 @@ redef class DB
                # Merge days of `corrections` to `beer`
                for from, to in corrections do
                        if to == beer.name then
-                               var missing_days = super(new Beer(from, ""))
+                               var missing_days = super(new Beer(0, from, ""))
                                if missing_days != null then days.add_all missing_days
                        end
                end