cgi-bin/tek/class/loona.lua
changeset 213 44bbb49bd40c
parent 206 450cd443de9f
child 219 7cb83473b4dd
     1.1 --- a/cgi-bin/tek/class/loona.lua	Sat Nov 24 20:53:20 2007 +0100
     1.2 +++ b/cgi-bin/tek/class/loona.lua	Tue Nov 27 14:36:00 2007 +0100
     1.3 @@ -1768,7 +1768,12 @@
     1.4  			t, i, exists = self:isdynamic(path) -- TODO: prohibit endless recursion
     1.5  		end
     1.6  	end
     1.7 -	return t and t[i].dynamic, path, exists
     1.8 +	if t then
     1.9 +		if t[i] then
    1.10 +			t = t[i].dynamic
    1.11 +		end
    1.12 +	end
    1.13 +	return t, path, exists
    1.14  end
    1.15  
    1.16