dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Don't cache replacement patterns in wfEscapeWikitext() during tests"
[lhc/web/wiklou.git]
/
includes
/
user
/
User.php
diff --git
a/includes/user/User.php
b/includes/user/User.php
index
df3b2ac
..
92a65f0
100644
(file)
--- a/
includes/user/User.php
+++ b/
includes/user/User.php
@@
-321,7
+321,7
@@
class User implements IDBAccessObject {
* @return string
*/
public function __toString() {
- return $this->getName();
+ return
(string)
$this->getName();
}
/**