peej/tonic — pull request #135 by Nalum (2013-04-07 21:06:26+00:00)
Title: Warning output when $headers not an array

Wrapped for loop in if statement so no warning would be issued if the $headers variable is not an array.