View | Details | Raw Unified | Return to bug 2746
Collapse All | Expand All

(-)a/members/memberentry.pl (-1 / +1 lines)
Lines 129-134 if ($op eq 'insert' || $op eq 'modify' || $op eq 'save') { Link Here
129
			push(@errors,"ERROR_$_");
129
			push(@errors,"ERROR_$_");
130
		}
130
		}
131
	}
131
	}
132
    $newdata{'dateexpiry'} = $data{'dateexpiry'} unless $newdata{'dateexpiry'};
132
  # check permission to modify login info.
133
  # check permission to modify login info.
133
    if (ref($borrower_data) && ($borrower_data->{'category_type'} eq 'S') && ! (C4::Auth::haspermission($dbh,$userenv->{'id'},{'staffaccess'=>1})) )  {
134
    if (ref($borrower_data) && ($borrower_data->{'category_type'} eq 'S') && ! (C4::Auth::haspermission($dbh,$userenv->{'id'},{'staffaccess'=>1})) )  {
134
		$NoUpdateLogin =1;
135
		$NoUpdateLogin =1;
135
- 

Return to bug 2746