Skip to content

Commit

Permalink
[util] csfix
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Dec 20, 2023
1 parent df9f81e commit 132670f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/util/sfToolkit.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ public static function arrayDeepMerge()
*/
public static function stringToArray($string)
{
if ($string === null) {
return [];
if (null === $string) {
return array();
}

preg_match_all('/
Expand Down

0 comments on commit 132670f

Please sign in to comment.