Bug fixed that prevented redirected, dynamic sections from being linked to
authorTimm S. Mueller <tmueller@neoscientists.org>
Tue, 27 Nov 2007 14:36:00 +0100
changeset 21344bbb49bd40c
parent 212 a1aad6415384
child 214 88126d510868
child 215 9668568f51d7
Bug fixed that prevented redirected, dynamic sections from being linked to
cgi-bin/tek/class/loona.lua
     1.1 --- a/cgi-bin/tek/class/loona.lua	Mon Nov 26 22:24:41 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