Changed wrong method call.
bug #3891 Fixed wrong method call. (cmfcmf)

This PR was submitted for the 2.4 branch but it was merged into the 2.3 branch instead (closes #3891).

Discussion
----------

Fixed wrong method call.

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | ---
| Fixed tickets | ---

Commits
-------

c1dce1e Changed wrong method call.