Gossamer Forum
Home : Products : DBMan : Customization :

change -2 to be per_admin or per_siteadmin?

Quote Reply
change -2 to be per_admin or per_siteadmin?
How would l change:

elsif ($db_form_len{$field} == -2) { $per_avsadmin ? ($output .= ...

to allow my new siteadmin to see these fields as well?

just using or didn't make a difference...

$per_avsadmin or $per_siteadmin ?

I'm missing something here
Lynette
Hollister, Ca
Quote Reply
Re: [ltillner] change -2 to be per_admin or per_siteadmin? In reply to
Sorry this is not expert advise.Unsure

You want to an "or" which might look something like this

print " None " if (!($per_view || $per_add || $per_del || per_mod));

I think the ! means "not" and the || means "or".

consider asking a specific question to the PErl forum.
Quote Reply
Re: [joematt] change -2 to be per_admin or per_siteadmin? In reply to
Thanks, I'll play with that!
Lynette
Hollister, Ca