Skip to content

Commit

Permalink
use contant name - ##2233
Browse files Browse the repository at this point in the history
  • Loading branch information
yllen committed May 24, 2017
1 parent ef54b53 commit ec2b6f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/log.class.php
Expand Up @@ -500,11 +500,11 @@ static function getHistoryData(CommonDBTM $item, $start=0, $limit=0, $sqlfilter=

foreach($DB->request($table, array($key => $data['items_id'],
$itemkey => $iditem)) as $datalink) {
if ($datalink['type'] == 1) {
if ($datalink['type'] == CommonITILActor::REQUESTER) {
$as = __('Requester');
} else if ($datalink['type'] == 2) {
} else if ($datalink['type'] == CommonITILActor::ASSIGN) {
$as = __('Assigned to');
} else if ($datalink['type'] == 3) {
} else if ($datalink['type'] == CommonITILActor::OBSERVER) {
$as = __('Watcher');
}
$tmp['change'] = sprintf(__('%1$s: %2$s'), __('Add a link with an item'),
Expand Down

0 comments on commit ec2b6f9

Please sign in to comment.