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:
@@ -5217,7 +5217,7 @@ class eHelper
|
||||
*/
|
||||
public static function dasherize($str)
|
||||
{
|
||||
return str_replace(array('_', ' '), '-', $str);
|
||||
return !empty($str) ? str_replace(array('_', ' '), '-', $str) : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user