update('bugs', [ 'title' => $post['title'], 'titleSeo' => seo($post['title']), 'tasktype' => $post['tasktype'], 'status' => $post['status'], 'system' => $post['system'], 'details' => $post['details'], ]); if (!DB::error()) { redirect('bugs'); } } }