no message
This commit is contained in:
parent
04712e40b3
commit
b78c2effe3
@ -144,7 +144,7 @@ final class HookController
|
||||
|
||||
$aTicketContent = json_decode($aTicket['content'], true);
|
||||
|
||||
if (count($aTicketContent) <== 1) {
|
||||
if (!is_array($aTicketContent[0])) {
|
||||
$aTicketContent[] = $aTicketContent;
|
||||
}
|
||||
|
||||
|
||||
@ -33,9 +33,9 @@ final class TgStep extends Model
|
||||
|
||||
public function find($iFromId, $iStep = false, $sCmd = false)
|
||||
{
|
||||
$oTgStep = (new TgStep())->where("from_id", $iFromId);
|
||||
$oTgStep = TgStep::query();
|
||||
|
||||
// $oTgStep->where("from_id", $iFromId);
|
||||
$oTgStep->where("from_id", $iFromId);
|
||||
|
||||
if ($iStep) {
|
||||
$oTgStep->where("step", $iStep);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user