speedmax/h2o-php — pull request #41 by latestrevision (2011-10-26 19:08:03+00:00)
Title: Do not ignore context if i18n is enabled

Do not attempt an external lookup should we already have resolved a context variable.

If i18n is enabled, an entry into 'lookupTables' is added. Before 79befdd1 the context variable would have been directly returned, but afterward a resolved context variable would be re-looked-up in using the lookupTables (in this case, gettext), thus resulting in all context variables being set to Null.