1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Merge pull request #362 from Ysurac/develop

sync
This commit is contained in:
suyuan 2023-10-06 02:14:46 -05:00 committed by GitHub
commit 7af6c96027
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View file

@ -28,7 +28,7 @@ menuentry = ucic:get("openmptcprouter","settings","menu") or "openmptcprouter"
lastmodif=""
allbackup=luci.model.uci.cursor():get("openmptcprouter",servername,"allbackup")
for _, backup in pairs(allbackup) do
filemodif=split(backup, '|')
filemodif=luci.util.split(backup, '|')
if filemodif[2] ~= lastmodif then
lastmodif=filemodif[2]
%>