getherbert / framework

Core Framework
http://getherbert.com/
41 stars 54 forks source link

Router argument issue #22

Closed codesman closed 8 years ago

codesman commented 8 years ago

I don't generate any routes with herbert. I noticed that my nginx error log was getting flooded with errors about foreach not having a valid argument in this method. So I added a check for an array before trying to iterate it. No more log spam.

jeremyzahner commented 8 years ago

@onnimonni this should get merged.

onnimonni commented 8 years ago

LGTM

onnimonni commented 8 years ago

Thanks for the contribution :)