If possible selected None own in owner event, tiquet: #2250

This commit is contained in:
m-lopez-f 2015-05-21 15:23:37 +02:00
parent d57ba03f19
commit 400cc3c587
1 changed files with 4 additions and 3 deletions

View File

@ -481,9 +481,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) {