|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
$content = $_SERVER['post_content'];
|
|
$content = $_SERVER['post_content'];
|
|
|
|
|
|
-$inputs = json_decode($content,true);
|
|
|
|
|
|
+$inputs = json_decode($content,true) ?? [];
|
|
foreach ($inputs as $input) {
|
|
foreach ($inputs as $input) {
|
|
refill\util::push_notify('hangtong',$input);
|
|
refill\util::push_notify('hangtong',$input);
|
|
}
|
|
}
|