string_exists() fuunction causes errors if string expects extra arguments
Bug #1708567 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned | ||
16.10 |
Fix Released
|
High
|
Unassigned | ||
17.04 |
Fix Released
|
High
|
Unassigned | ||
17.10 |
Fix Released
|
High
|
Unassigned |
Bug Description
When checking if a string exists and that string has %s in it for extra arguments it will throw a
"sprintf(): Too few arguments" error.
We need to check if string exists without needing to supple the extra arguments.
Changed in mahara: | |
importance: | Undecided → Medium |
milestone: | none → 17.10.0 |
status: | New → In Progress |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/7918