PO new/detail php fixed due to chagne of core