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)
Reviewed: https:/ /reviews. mahara. org/7956 /git.mahara. org/mahara/ mahara/ commit/ e1536c2f2a4d9d6 4328757d55b55ce d98fe4ece8
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.04_STABLE
commit e1536c2f2a4d9d6 4328757d55b55ce d98fe4ece8
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: Ibfc2d9a552f2d8 7b2f5f762bab2ff 2ec76a73dca 38dc5dacee4b37f 198e41e822)
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 7f9b6945ed2ed2a