Welcome Guest, Not a member yet? Register   Sign In
Controller functions being called twice, passed "css" second time?
#1

[eluser]Unknown[/eluser]
While debugging my application I am noticing that my controller functions are getting called twice on page load.

The argument being passed the second time to my function is always the string "css". Because of this I am not getting any data back because the second function call is overwriting my $id parameter and ruining my query.

Anyone have any explanation or ideas about this?
#2

[eluser]JoostV[/eluser]
Are you trying to load a css file using a relative link?
#3

[eluser]Unknown[/eluser]
Ah, thank you, never thought of that. I think a javascript library I am loading might be.




Theme © iAndrew 2016 - Forum software by © MyBB