', time() - 80000 * 7], ['state', 0], ['public_id', $pubic_id] ))->orderBy('id', 'asc')->first(); if (!$form) { return false; } else { $form->state = 1; $form->save(); return $form->form_id; } } }