Add missing global declaration for $active in action plugin

Thanks for reporting to Steve Simpson <sksimpson@securemissionsolutions.com>.