Hi, Am Freitag, den 01.02.2008, 09:48 -0500 schrieb Matthew Weier O'Phinney: [...] > So, what I'm thinking is that instead of checking for is_int(), we > should cast to int prior to any other checks. That way, both '303' and > 303 will work, and users don't need to be worried about the specific > type they send.
This won't work, as Redirector::redirect('foo') will return 0. Just
replace the is_int() with is_numeric() and cast it to an integer before
sending the header to make sure it is not a float.
cu, Lars
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
