Fixed php issue. Linked apps view