User tests: Successful: Unsuccessful:
Currently Joomla\String\Normalise::toVariable() blanks out the whole string instead of just removing leading digits, if there is any leading digits.
Execute
$var = Joomla\String\Normalise::toVariable('1abc3def4');Correct output => 'abc3def4'
Output before patch => ''
| Status | New | ⇒ | Pending |
| Labels |
Added:
?
?
|
||
| Labels |
Added:
?
?
|
||
| Category | ⇒ | Libraries |
| Labels | |||
| Status | Pending | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-04-25 13:03:26 |
| Closed_By | ⇒ | mbabker | |
| Labels | |||
Sorry! Please see joomla-framework/string#15
This needs to be patched in https://github.com/joomla-framework/string