X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fstateid.html;h=0f288099bd7ee78749a66de0ce1047b461cce5dc;hp=cc0890fe140cd28117b47c1ed51187310a9c6e52;hb=7bf6dafb0da4a525388a6f145dd0a904eddcec14;hpb=ca8a483f90e0c9ee4a1d2e65ddee07278ff48a9d diff --git a/httemplate/edit/cust_main/stateid.html b/httemplate/edit/cust_main/stateid.html index cc0890fe1..0f288099b 100644 --- a/httemplate/edit/cust_main/stateid.html +++ b/httemplate/edit/cust_main/stateid.html @@ -3,7 +3,7 @@ <% $stateid_label %> -% if ( $FS::CurrentUser::CurrentUser->access_right( 'Unmask customer DL' )) { +% if ( $stateid && $FS::CurrentUser::CurrentUser->access_right( 'Unmask customer DL' )) { <& /elements/link-replace_element_text.html, {target_id => 'stateid', replace_text => $cust_main->stateid} &> % }