@@ 577-582 (lines=6) @@ | ||
574 | ||
575 | if ($matches['name']) { |
|
576 | $name = $matches['name']; |
|
577 | if ($matches['username']) { |
|
578 | $name .= ' (@' . $matches['username'] . ')'; |
|
579 | } |
|
580 | else { |
|
581 | $name .= ' (@' . $e->username . ')'; |
|
582 | } |
|
583 | $e->setVolatileData('search_matched_name', $name); |
|
584 | $e->setVolatileData('search_matched_title', $name); |
|
585 | } |
|
@@ 588-593 (lines=6) @@ | ||
585 | } |
|
586 | else { |
|
587 | $name = $e->name; |
|
588 | if ($matches['username']) { |
|
589 | $name .= ' (@' . $matches['username'] . ')'; |
|
590 | } |
|
591 | else { |
|
592 | $name .= ' (@' . $e->username . ')'; |
|
593 | } |
|
594 | $e->setVolatileData('search_matched_name', $name); |
|
595 | $e->setVolatileData('search_matched_title', $name); |
|
596 | } |