Patch MythWeb to work with PHP 5.3 after 5178d6603d

Patch by Doug Haber

Fixes #12249