Fixed more php code for app return link