diff options
author | Ted Trask <ttrask01@yahoo.com> | 2010-01-22 14:01:47 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2010-01-22 14:01:47 +0000 |
commit | 8fae2c1675ad5c49f286764e8923c5e111c4697d (patch) | |
tree | f15a25e205b0e9dce108749be0528828d53d21c3 /app | |
parent | f669bf6ec4bb0b49b123dd31db6998c4be914454 (diff) | |
download | acf-core-8fae2c1675ad5c49f286764e8923c5e111c4697d.tar.bz2 acf-core-8fae2c1675ad5c49f286764e8923c5e111c4697d.tar.xz |
Fixed bug with reporting skin in use.
Diffstat (limited to 'app')
-rw-r--r-- | app/acf-util/skins-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/acf-util/skins-model.lua b/app/acf-util/skins-model.lua index 860a943..9be9c72 100644 --- a/app/acf-util/skins-model.lua +++ b/app/acf-util/skins-model.lua @@ -23,7 +23,7 @@ local function list_skins(self) if not ((string.match(file, "^%.")) or (string.match(file, "^cgi[-]bin")) or (string.match(file, "^static")) or (posix.stat(self.conf.wwwdir .. skin .. file).type ~= "directory")) then local entry = cfe({ value=skin..file, label="Skin name" }) local current = conf.skin - entry.inuse = (file == current) + entry.inuse = (skin..file == current) table.insert(skinarray, entry) end end |