Apply patch to openx
Merge pull request #516 from ppp0/issue-516

Port openx to php54