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
(bug 43184) bogus script path in Special:Version
[lhc/web/wiklou.git]
/
includes
/
WebRequest.php
diff --git
a/includes/WebRequest.php
b/includes/WebRequest.php
index
e251ac5
..
8cf25bb
100644
(file)
--- a/
includes/WebRequest.php
+++ b/
includes/WebRequest.php
@@
-1044,6
+1044,7
@@
HTML;
*
* @since 1.19
*
*
* @since 1.19
*
+ * @throws MWException
* @return String
*/
protected function getRawIP() {
* @return String
*/
protected function getRawIP() {
@@
-1335,8
+1336,10
@@
class FauxRequest extends WebRequest {
* @return mixed
*/
public function getSessionData( $key ) {
* @return mixed
*/
public function getSessionData( $key ) {
- if( isset( $this->session[$key] ) )
+ if( isset( $this->session[$key] ) )
{
return $this->session[$key];
return $this->session[$key];
+ }
+ return null;
}
/**
}
/**