no message

This commit is contained in:
hellcat 2025-07-19 10:42:22 +08:00
parent 92e7a841b7
commit 02e1c457eb

View File

@ -322,9 +322,7 @@ class Dog extends Mod\Base {
$sValue = $aParam["aArg"][1] ?? false; $sValue = $aParam["aArg"][1] ?? false;
if ($sValue == "?") { if ($sValue == "?") {
return "#add__{field} {value}"; return "#add__{field} {value}";
} }
if (!$sValue) { if (!$sValue) {
@ -339,6 +337,7 @@ class Dog extends Mod\Base {
$this->oModelSelf->save(); $this->oModelSelf->save();
$aParam = [];
$aParam["aOption"][1] = $this->sPrimaryKey; $aParam["aOption"][1] = $this->sPrimaryKey;
$aParam["aArg"][1] = $this->oModelSelf->{$this->sPrimaryKey}; $aParam["aArg"][1] = $this->oModelSelf->{$this->sPrimaryKey};