Fixing small PHP error in callback file