arindam-priority-complie
This commit is contained in:
@@ -159,7 +159,7 @@ class PriorityController extends Controller
|
|||||||
Ticket_Priority::where('is_default', '>', '0')
|
Ticket_Priority::where('is_default', '>', '0')
|
||||||
->update(['is_default' => '0']);
|
->update(['is_default' => '0']);
|
||||||
Ticket_Priority::where('priority_id', '=', $priority_id)
|
Ticket_Priority::where('priority_id', '=', $priority_id)
|
||||||
->update(['is_default' => $priority_id]);
|
->update(['is_default' => 1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return \Redirect::route('priority.index')->with('success', (Lang::get('lang.priority_successfully_updated')));
|
return \Redirect::route('priority.index')->with('success', (Lang::get('lang.priority_successfully_updated')));
|
||||||
|
Reference in New Issue
Block a user