avoid crash when TWIG_GET_ARRAY_ELEMENT returns NULL
authorArnaud Le Blanc <arnaud.lb@gmail.com>
Mon, 20 Aug 2012 18:28:22 +0000 (20:28 +0200)
committerArnaud Le Blanc <arnaud.lb@gmail.com>
Mon, 20 Aug 2012 18:28:22 +0000 (20:28 +0200)
commit3ca665461749e7b1f52b0b09ab592ceb38ff9479
tree6260d5d0438f248abf85f8b1174614fc079b94a2
parent3694d4b2bf241e59c1720a01c7f4f951e7794e0a
avoid crash when TWIG_GET_ARRAY_ELEMENT returns NULL

fixes #807
ext/twig/twig.c