pyrocms/pyrocms — pull request #1332 by obrignoni (2012-04-17 13:08:44+00:00)
Title: Set to NULL if buttons are not passed.

I missed this tiny detail. This will avoid errors if a button array is not passed.