oops
This commit is contained in:
parent
9924e82e51
commit
78ac10c266
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ declare(strict_types=1);
|
|||
namespace Dotclear\Plugin\whiteListCom;
|
||||
|
||||
/* dotclear ns */
|
||||
use dcBlog;
|
||||
use dcCore;
|
||||
use dcUtils;
|
||||
|
||||
|
@ -168,7 +169,7 @@ class Core
|
|||
|
||||
public static function decode($x)
|
||||
{
|
||||
$y = json_decode($x);
|
||||
$y = json_decode($x, true);
|
||||
|
||||
return is_array($y) ? $y : [];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue