error reports: backtrace split from message
This commit is contained in:
@ -844,7 +844,7 @@ class Dedimania implements CallbackListener, TimerListener, Plugin {
|
||||
}
|
||||
|
||||
/**
|
||||
* Encodes the given xml rpc method and params
|
||||
* Encode the given xml rpc method and params
|
||||
*
|
||||
* @param string $method
|
||||
* @param array $params
|
||||
@ -856,7 +856,7 @@ class Dedimania implements CallbackListener, TimerListener, Plugin {
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles xml rpc fault
|
||||
* Handle xml rpc fault
|
||||
*
|
||||
* @param $fault
|
||||
* @param $method
|
||||
@ -865,10 +865,14 @@ class Dedimania implements CallbackListener, TimerListener, Plugin {
|
||||
trigger_error('XmlRpc Fault on ' . $method . ': ' . $fault['faultString'] . ' (' . $fault['faultCode'] . ')');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Build Manialink
|
||||
*
|
||||
* @return \FML\ManiaLink
|
||||
*/
|
||||
private function buildManialink() {
|
||||
if (!$this->dedimaniaData->records) {
|
||||
return '';
|
||||
return null;
|
||||
}
|
||||
$records = $this->dedimaniaData->records;
|
||||
|
||||
|
@ -448,7 +448,7 @@ class WidgetPlugin implements CallbackListener, TimerListener, Plugin {
|
||||
*/
|
||||
$requester = null;
|
||||
// if the nextmap is not a queued map, get it from map info
|
||||
if ($queuedMap == null) {
|
||||
if (!$queuedMap) {
|
||||
$map = $this->maniaControl->client->getNextMapInfo();
|
||||
$name = Formatter::stripDirtyCodes($map->name);
|
||||
$author = $map->author;
|
||||
|
Reference in New Issue
Block a user