• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.