Fix PHP warning when using asset transaction shortcuts.