Public bug reported: 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. ** Affects: mahara Importance: High Status: In Progress ** Affects: mahara/16.10 Importance: High Status: New ** Affects: mahara/17.04 Importance: High Status: New ** Affects: mahara/17.10 Importance: High Status: In Progress ** Changed in: mahara Importance: Undecided => Medium ** Changed in: mahara Milestone: None => 17.10.0 ** Changed in: mahara Status: New => In Progress ** Also affects: mahara/17.04 Importance: Undecided Status: New ** Also affects: mahara/16.10 Importance: Undecided Status: New ** Also affects: mahara/17.10 Importance: Medium Status: In Progress ** Changed in: mahara/17.04 Importance: Undecided => Medium ** Changed in: mahara/16.10 Importance: Undecided => Medium ** Changed in: mahara/17.10 Importance: Medium => High ** Changed in: mahara/17.04 Importance: Medium => High ** Changed in: mahara/16.10 Importance: Medium => High -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1708567 Title: string_exists() fuunction causes errors if string expects extra arguments Status in Mahara: In Progress Status in Mahara 16.10 series: New Status in Mahara 17.04 series: New Status in Mahara 17.10 series: In Progress 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. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1708567/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp