1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Issue #5443 Replaced with non-deprecated counterparts and made sure deprecated items are displayed after running unit tests.

This commit is contained in:
camer0n
2025-04-22 17:44:17 -07:00
parent a4d59dba0c
commit a9d20d8e93
12 changed files with 218 additions and 66 deletions

View File

@@ -5217,7 +5217,7 @@ class eHelper
*/
public static function dasherize($str)
{
return str_replace(array('_', ' '), '-', $str);
return !empty($str) ? str_replace(array('_', ' '), '-', $str) : '';
}
/**