mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +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 no new_owner is provided, the current user will be the owner
|
||||||
if (empty($new_owner)) {
|
// ** Comment this lines because if possible selected None owner in owner event. TIQUET: #2250***
|
||||||
$new_owner = $config['id_user'];
|
//if (empty($new_owner)) {
|
||||||
}
|
// $new_owner = $config['id_user'];
|
||||||
|
//}
|
||||||
|
|
||||||
// Only generate comment when is forced (sometimes is changed the owner when comment)
|
// Only generate comment when is forced (sometimes is changed the owner when comment)
|
||||||
if ($force) {
|
if ($force) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user