mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
If possible selected None own in owner event, tiquet: #2250
(cherry picked from commit 400cc3c5875ceca1e7986048b5298d7dcd86dff2)
This commit is contained in:
parent
022fe08b0f
commit
36bb075f03
@ -479,9 +479,10 @@ function events_change_owner ($id_event, $new_owner = false, $force = false, $me
|
||||
}
|
||||
|
||||
// If no new_owner is provided, the current user will be the owner
|
||||
if (empty($new_owner)) {
|
||||
$new_owner = $config['id_user'];
|
||||
}
|
||||
// ** Comment this lines because if possible selected None owner in owner event. TIQUET: #2250***
|
||||
//if (empty($new_owner)) {
|
||||
// $new_owner = $config['id_user'];
|
||||
//}
|
||||
|
||||
// Only generate comment when is forced (sometimes is changed the owner when comment)
|
||||
if ($force) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user