Skip to content

Commit

Permalink
luci-base: follow-up fix for ES6 changes
Browse files Browse the repository at this point in the history
follow-up for c2fc96c

Signed-off-by: Paul Donald <[email protected]>
  • Loading branch information
systemcrash committed Dec 21, 2024
1 parent b174d53 commit 8a422af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/luci-base/htdocs/luci-static/resources/uci.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ {
return null;

/* check whether option was changed */
if (c[conf]?.[sid][opt] != null)
if (c[conf]?.[sid]?.[opt] != null)
return c[conf][sid][opt];

/* return base value */
Expand Down

0 comments on commit 8a422af

Please sign in to comment.