Files
web-site/Projects/Panel/Models/bugs_model.php
T
2026-07-01 16:44:17 +03:00

19 lines
380 B
PHP

<?php
class Bugs_model extends Model{
function bugs_update($post){
DB::where('id',$post['id'])->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');
}
}
}