Comment 7 for bug 1708567

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7956
Committed: https://git.mahara.org/mahara/mahara/commit/e1536c2f2a4d9d64328757d55b55ced98fe4ece8
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.04_STABLE

commit e1536c2f2a4d9d64328757d55b55ced98fe4ece8
Author: Robert Lyon <email address hidden>
Date: Fri Aug 4 13:54:13 2017 +1200

Bug 1708567: Avoid error when checking string_exists

We need to avoid the sprintf() error if lang string expects extra args.

We can do this by supplying function check_string rather than
format_string

behatnotneeded

Change-Id: Ibfc2d9a552f2d87b2f5f762bab2ff2ec76a73dca
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 7f9b6945ed2ed2a38dc5dacee4b37f198e41e822)