MathRestbaseInterface: Only read properties we know exist
Horrible hack but will stop the bleeding, I imagine. Bug: T121165 Change-Id: Ie81cc78e02771bee8ff2d6d492d6a3308bf6cd40
This commit is contained in:
parent
b56535f005
commit
830fbbf071
@ -80,8 +80,10 @@ class MathRestbaseInterface {
|
|||||||
$this->identifiers = $json->identifiers;
|
$this->identifiers = $json->identifiers;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
if ( isset( $json->detail ) && isset( $json->detail->success ) ) {
|
||||||
$this->success = $json->detail->success;
|
$this->success = $json->detail->success;
|
||||||
$this->error = $json->detail;
|
$this->error = $json->detail;
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user