Procházet zdrojové kódy

Merge branch 'fix_storage_crash' into 'master'

fix modpol storage of old_ledgers

See merge request medlabboulder/modpol!9
Nathan Schneider před 3 roky
rodič
revize
501ef4d354
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      modpol/storage/storage-local.lua

+ 1 - 1
modpol/storage/storage-local.lua

@@ -137,7 +137,7 @@ local load_old_ledgers   = function()
         end
         modpol.orgs = func()
 
-        local nn  = modpol.ocutil.table_length (modpol.file_old_ledgers)
+        local nn  = modpol.ocutil.table_length (modpol.old_ledgers)
         local str = "entries"
         if nn == 1 then str = "entry" end
         modpol.ocutil.log (nn .. " orgs loaded from disk")