Show disabled scrips

Hi,

I want /Admin/Global/Scrips.html to show disabled scrips, but the best I
could do is display the Stage value. For some reason,

    $scrip->Stage == 'Disabled'

and

    $scrip->Stage == 'TransactionCreate'

are always true.

Attached is the diff for /Admin/Elements/EditScrips.

–David

RT 3.6.1

EditScrips.diff (721 Bytes)

For some reason,

    $scrip->Stage == 'Disabled'

and

    $scrip->Stage == 'TransactionCreate'

are always true.

Perhaps that’s because the == operator in Perl is for numeric values.
I think you are looking for the eq operator.

Garry T. Williams — 678-370-2438