no message
This commit is contained in:
parent
9321eca62f
commit
7a13411948
@ -127,7 +127,7 @@ class GithubController
|
||||
$aShip = $oShip->toArray();
|
||||
|
||||
$aGoodRand = ModelGoodPool::_rand($aArticle["ship_code"]);
|
||||
$sGoodRand = ModelGoodPool::_goodToGithub($aGoodRand["good"]);
|
||||
$sGoodRand = ModelGoodPool::_goodToGithub($aGoodRand["good"] ?? []);
|
||||
$ex["good_rand"] = $sGoodRand;
|
||||
|
||||
$sGoodShip = ModelGoodPool::_goodToGithub($aShip["good"]);
|
||||
|
||||
@ -47,6 +47,11 @@ class GoodPool extends Model
|
||||
|
||||
public static function _goodToGithub($sGood, $bEnter = true)
|
||||
{
|
||||
|
||||
if (!$sGood) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$aGood = json_decode($sGood);
|
||||
|
||||
$str = "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user