Closed epigeyre closed 2 months ago
If $thing only contains a space it will generate a php warning when doing ltrim( $thing )[0]. This fixes the issue while still being compatible with php 5.4+.
$thing
space
ltrim( $thing )[0]
Fixes issue #933
If
$thing
only contains aspace
it will generate a php warning when doingltrim( $thing )[0]
. This fixes the issue while still being compatible with php 5.4+.Fixes issue #933